Green Color / Colour Code #2E7A1F

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

    #2E7A1F

    Color Conversions

    HEX
    #2E7A1F
    RGB
    rgb(46, 122, 31)
    HSL
    hsl(110, 59%, 30%)
    HSV
    hsv(110, 75%, 48%)
    CMYK
    cmyk(62%, 0%, 75%, 52%)

    Accessibility Contrast

    WCAG contrast ratios for #2E7A1F against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    5.36:1
    AA PassAA Large PassAAA Fail
    Sample Text
    vs Black (#000000)
    3.92:1
    AA FailAA Large PassAAA Fail
    Sample Text
    vs Light Gray (#EEEEEE)
    4.62:1
    AA PassAA Large PassAAA Fail

    Complementary Colors

    #2E7A1F paired with its color wheel opposite for maximum contrast.

    Analogous Colors

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

    Triadic Palette

    Three colors at 110, 230, and 350 degrees.

    Color Palettes Using #2E7A1F

    Monochromatic Scale

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

    #173D10 #2E7A1F #4DCB34 #94E085 #CAEFC2
    Warm Harmony

    Adjacent hues from 110 to 155 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.

    #5FD049 #49D054 #49D076 #49D098
    Cool Contrast

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

    #4DCB34 #B234CB #CB3499 #CB344D
    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.

    #BEE0B8 #B8E0DA #B8BEE0 #DAB8E0 #E0B8BE

    Shades & Tints of #2E7A1F

    Lightness variations at hue 110 and 59% saturation.

    CSS Gradients with #2E7A1F

    Green to Purple
    linear-gradient(135deg, #2e7a1f, #6b1f7a)
    Analogous Fade
    linear-gradient(90deg, #2e7a1f, #1f7a3d)
    Deep to Light
    linear-gradient(180deg, #1c4913, #bfecb6)
    Tricolor Sweep
    linear-gradient(135deg, #2e7a1f, #1f2e7a, #7a1f2e)

    Design Use Cases for #2E7A1F

    Balanced UI Color

    At 59% saturation, #2E7A1F 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, #2E7A1F 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

    #2E7A1F falls in the green range (hue 110). 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 #2E7A1F (hue 110) to its complement at hue 290. For a subtler effect, try pairing with an analogous color at hue 140. Use CSS: background: linear-gradient(135deg, #2e7a1f, #6b1f7a);

    CSS Code for #2E7A1F

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

    Similar Colors

    Colors visually similar to #2E7A1F based on RGB, lightness, and hue variations.

    Use This Color in Design Tools

    Apply #2E7A1F across image editing and color design tools.

    About Green (#2E7A1F)

    #2E7A1F is a green color (colour) with RGB channel values of 46 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 110 degrees with 59% saturation and 30% lightness, placing it in the neutral-to-cool range of the colour spectrum.

    The perceived brightness of #2E7A1F is 89/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 62% cyan, 0% magenta, 75% yellow, and 52% key (black).

    The WCAG contrast ratio of #2E7A1F against white is 5.36:1 and against black is 3.92: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 #6B1F7A creates maximum visual tension when paired with #2E7A1F. For more harmonious color combinations, use the analogous colours #5C7A1F and #1F7A3D, 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 #2E7A1F

    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 #2E7A1F?
    #2E7A1F is Green, a green color (colour) with RGB(46, 122, 31), HSL(110, 59%, 30%), and CMYK(62%, 0%, 75%, 52%). Its perceived brightness is 89/255.
    Is #2E7A1F accessible for text?
    Against white, #2E7A1F has a contrast ratio of 5.36:1 (passes AA for normal text). Against black, it has 3.92:1 (fails AA). Use the contrast checker tool for custom background pairings.
    What colours pair well with #2E7A1F?
    The complementary colour is #6B1F7A (hue 290). For subtle color combinations, use analogous colours #5C7A1F and #1F7A3D. The triadic palette adds #1F2E7A and #7A1F2E for vibrant variety.
    How do I use #2E7A1F in CSS?
    Use any format: color: #2e7a1f; or rgb(46, 122, 31); or hsl(110, 59%, 30%). For CSS custom properties: --color-primary: 110 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.