Color #897A1F Color / Colour Code #897A1F

    This page shows the hex color code for color #897a1f (#897A1F). The colour is a yellow tone with 63% saturation and 33% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #897A1F

    Color Conversions

    HEX
    #897A1F
    RGB
    rgb(137, 122, 31)
    HSL
    hsl(52, 63%, 33%)
    HSV
    hsv(52, 77%, 54%)
    CMYK
    cmyk(0%, 11%, 77%, 46%)

    Accessibility Contrast

    WCAG contrast ratios for #897A1F against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    4.31:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    4.87:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    3.72:1
    AA FailAA Large PassAAA Fail

    Complementary Colors

    #897A1F paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 22, 52, and 82 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 52, 172, and 292 degrees.

    Color Palettes Using #897A1F

    Monochromatic Scale

    Five shades at lightness levels 15% through 85% while keeping hue at 52 and saturation at 63%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.

    #3E380E #7D701C #D0BA2F #E3D682 #F1EAC1
    Warm Harmony

    Adjacent hues from 52 to 97 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.

    #D5C144 #C4D544 #A0D544 #7BD544
    Cool Contrast

    Combines the base color at hue 52 with its complement at 232 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.

    #D0BA2F #2F45D0 #6A2FD0 #BA2FD0
    Pastel Variation

    Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.

    #E0DBB8 #BDE0B8 #B8E0DB #B8BDE0 #DBB8E0

    Shades & Tints of #897A1F

    Lightness variations at hue 52 and 63% saturation.

    CSS Gradients with #897A1F

    Yellow to Blue
    linear-gradient(135deg, #897a1f, #1f2d89)
    Analogous Fade
    linear-gradient(90deg, #897a1f, #62891f)
    Deep to Light
    linear-gradient(180deg, #4b4311, #eee6b4)
    Tricolor Sweep
    linear-gradient(135deg, #897b1f, #1f897b, #7b1f89)

    Design Use Cases for #897A1F

    Vibrant Brand Color

    #897A1F has a strong 63% saturation that makes it ideal for brand identity elements. Use it for logos, primary call-to-action buttons, hero section accents, and marketing materials where visual impact matters. This saturation level is eye-catching without being harsh.

    Primary Interface Color

    At 33% lightness, #897A1F is in the mid-range, making it ideal for interactive elements like buttons, links, and selected states. This lightness level ensures good contrast against both light and dark adjacent elements in most layouts.

    Attention & Optimism

    #897A1F is in the yellow spectrum (hue 52). Yellow attracts attention faster than any other color. Use it for warning labels, featured content markers, star ratings, and tooltip backgrounds. Pair with dark text since yellow often fails contrast checks against white.

    Gradient Pairing

    Create a gradient from #897A1F (hue 52) to its complement at hue 232. For a subtler effect, try pairing with an analogous color at hue 82. Use CSS: background: linear-gradient(135deg, #897a1f, #1f2d89);

    CSS Code for #897A1F

    /* Background */
    background-color: #897a1f;
    background-color: rgb(137, 122, 31);
    background-color: hsl(52, 63%, 33%);
    /* Text */
    color: #897a1f;
    /* Border */
    border: 2px solid #897a1f;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(137, 122, 31, 0.3);
    /* CSS Variable */
    --color-primary: 52 63% 33%;

    Similar Colors

    Colors visually similar to #897A1F based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #897A1F across image editing and color design tools.

    About Color #897A1F (#897A1F)

    #897A1F is a yellow color (colour) with RGB channel values of 137 red, 122 green, and 31 blue. The red channel is dominant by a ratio of 4.4:1 over the weakest channel. In HSL terms, the hue sits at 52 degrees with 63% saturation and 33% lightness, placing it in the warm range of the colour spectrum.

    The perceived brightness of #897A1F is 116/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This appears dark to the human eye, so pair it with light text for adequate readability. For print production, the CMYK equivalent is 0% cyan, 11% magenta, 77% yellow, and 46% key (black).

    The WCAG contrast ratio of #897A1F against white is 4.31:1 and against black is 4.87:1. This only passes AA for large text (18pt+) on white. For normal body text on white, darken the color or use it on a dark background where it achieves 4.87:1.

    The complementary colour #1F2D89 creates maximum visual tension when paired with #897A1F. For more harmonious color combinations, use the analogous colours #89461F and #62891F, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.

    How to Explore Color #897A1F

    1. Enter your color value in HEX format.
    2. The tool converts it to RGB, HSL, CMYK format in real time.
    3. Copy the converted value to your clipboard.

    Color Converter · Contrast Checker

    What is HEX to RGB, HSL, CMYK color conversion

    Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).

    Related Tools & Colors

    Frequently Asked Questions

    What color / colour is #897A1F?
    #897A1F is Color #897A1F, a yellow color (colour) with RGB(137, 122, 31), HSL(52, 63%, 33%), and CMYK(0%, 11%, 77%, 46%). Its perceived brightness is 116/255.
    Is #897A1F accessible for text?
    Against white, #897A1F has a contrast ratio of 4.31:1 (fails AA for normal text). Against black, it has 4.87:1 (passes AA). It passes AA for large text (18pt+) on white. Use the contrast checker tool for custom background pairings.
    What colours pair well with #897A1F?
    The complementary colour is #1F2D89 (hue 232). For subtle color combinations, use analogous colours #89461F and #62891F. The triadic palette adds #1F897B and #7B1F89 for vibrant variety.
    How do I use #897A1F in CSS?
    Use any format: color: #897a1f; or rgb(137, 122, 31); or hsl(52, 63%, 33%). For CSS custom properties: --color-primary: 52 63% 33%; then use it as hsl(var(--color-primary)).
    Is this color / colour explorer free?
    Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.