Green Color / Colour Code #5C7A1F

    This page shows the hex color code for green (#5C7A1F). The colour is a green tone with 59% saturation and 30% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.

    #5C7A1F

    Color Conversions

    HEX
    #5C7A1F
    RGB
    rgb(92, 122, 31)
    HSL
    hsl(80, 59%, 30%)
    HSV
    hsv(80, 75%, 48%)
    CMYK
    cmyk(25%, 0%, 75%, 52%)

    Accessibility Contrast

    WCAG contrast ratios for #5C7A1F against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    4.93:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    4.26:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    4.25:1
    AA FailAA Large PassAAA Fail

    Complementary Colors

    #5C7A1F paired with its color wheel opposite for maximum contrast.

    Analogous Colors

    Hues at 50, 80, and 110 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 80, 200, and 320 degrees.

    Color Palettes Using #5C7A1F

    Monochromatic Scale

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

    #2E3D10 #5C7A1F #99CB34 #C2E085 #E0EFC2
    Warm Harmony

    Adjacent hues from 80 to 125 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.

    #A3D049 #81D049 #5FD049 #49D054
    Cool Contrast

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

    #99CB34 #6634CB #B234CB #CB3499
    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.

    #D3E0B8 #B8E0C5 #B8D3E0 #C5B8E0 #E0B8D3

    Shades & Tints of #5C7A1F

    Lightness variations at hue 80 and 59% saturation.

    CSS Gradients with #5C7A1F

    Green to Purple
    linear-gradient(135deg, #5c7a1f, #3d1f7a)
    Analogous Fade
    linear-gradient(90deg, #5c7a1f, #2e7a1f)
    Deep to Light
    linear-gradient(180deg, #374913, #daecb6)
    Tricolor Sweep
    linear-gradient(135deg, #5c7a1f, #1f5c7a, #7a1f5c)

    Design Use Cases for #5C7A1F

    Balanced UI Color

    At 59% saturation, #5C7A1F strikes a balance between vibrancy and restraint. This makes it versatile for primary UI elements like navigation bars, card headers, and form accents. It draws attention without overwhelming adjacent content.

    Primary Interface Color

    At 30% lightness, #5C7A1F 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.

    Success & Growth Indicators

    #5C7A1F falls in the green range (hue 80). Green universally represents success, growth, and safety. Use it for confirmation messages, positive chart data, eco-friendly badges, and health metrics. In financial dashboards, green indicates gains and positive performance.

    Gradient Pairing

    Create a gradient from #5C7A1F (hue 80) to its complement at hue 260. For a subtler effect, try pairing with an analogous color at hue 110. Use CSS: background: linear-gradient(135deg, #5c7a1f, #3d1f7a);

    CSS Code for #5C7A1F

    /* Background */
    background-color: #5c7a1f;
    background-color: rgb(92, 122, 31);
    background-color: hsl(80, 59%, 30%);
    /* Text */
    color: #5c7a1f;
    /* Border */
    border: 2px solid #5c7a1f;
    /* Shadow */
    box-shadow: 0 4px 14px rgba(92, 122, 31, 0.3);
    /* CSS Variable */
    --color-primary: 80 59% 30%;

    Similar Colors

    Colors visually similar to #5C7A1F based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #5C7A1F across image editing and color design tools.

    About Green (#5C7A1F)

    #5C7A1F is a green color (colour) with RGB channel values of 92 red, 122 green, and 31 blue. The green channel is dominant by a ratio of 3.9:1 over the weakest channel. In HSL terms, the hue sits at 80 degrees with 59% saturation and 30% lightness, placing it in the neutral-to-cool range of the colour spectrum.

    The perceived brightness of #5C7A1F is 103/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 25% cyan, 0% magenta, 75% yellow, and 52% key (black).

    The WCAG contrast ratio of #5C7A1F against white is 4.93:1 and against black is 4.26:1. This meets the AA requirement (4.5:1) for normal text on white. For AAA compliance, consider darkening to at least 21% lightness.

    The complementary colour #3D1F7A creates maximum visual tension when paired with #5C7A1F. For more harmonious color combinations, use the analogous colours #7A6B1F and #2E7A1F, 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 #5C7A1F

    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 #5C7A1F?
    #5C7A1F is Green, a green color (colour) with RGB(92, 122, 31), HSL(80, 59%, 30%), and CMYK(25%, 0%, 75%, 52%). Its perceived brightness is 103/255.
    Is #5C7A1F accessible for text?
    Against white, #5C7A1F has a contrast ratio of 4.93:1 (passes AA for normal text). Against black, it has 4.26:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #5C7A1F?
    The complementary colour is #3D1F7A (hue 260). For subtle color combinations, use analogous colours #7A6B1F and #2E7A1F. The triadic palette adds #1F5C7A and #7A1F5C for vibrant variety.
    How do I use #5C7A1F in CSS?
    Use any format: color: #5c7a1f; or rgb(92, 122, 31); or hsl(80, 59%, 30%). For CSS custom properties: --color-primary: 80 59% 30%; 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.