Color #2F7A1F Color / Colour Code #2F7A1F

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

    #2F7A1F

    Color Conversions

    HEX
    #2F7A1F
    RGB
    rgb(47, 122, 31)
    HSL
    hsl(109, 59%, 30%)
    HSV
    hsv(109, 75%, 48%)
    CMYK
    cmyk(61%, 0%, 75%, 52%)

    Accessibility Contrast

    WCAG contrast ratios for #2F7A1F against common backgrounds.

    Sample Text
    vs White (#FFFFFF)
    5.35: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.61:1
    AA PassAA Large PassAAA Fail

    Complementary Colors

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

    Analogous Colors

    Hues at 79, 109, and 139 degrees for harmonious combinations.

    Triadic Palette

    Three colors at 109, 229, and 349 degrees.

    Color Palettes Using #2F7A1F

    Monochromatic Scale

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

    #183D10 #307A1F #50CB34 #96E085 #CAEFC2
    Warm Harmony

    Adjacent hues from 109 to 154 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.

    #61D049 #49D052 #49D073 #49D095
    Cool Contrast

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

    #50CB34 #AF34CB #CB349B #CB3450
    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.

    #BFE0B8 #B8E0D9 #B8BFE0 #D9B8E0 #E0B8BF

    Shades & Tints of #2F7A1F

    Lightness variations at hue 109 and 59% saturation.

    CSS Gradients with #2F7A1F

    Green to Purple
    linear-gradient(135deg, #2f7a1f, #691f7a)
    Analogous Fade
    linear-gradient(90deg, #2f7a1f, #1f7a3c)
    Deep to Light
    linear-gradient(180deg, #1d4913, #c0ecb6)
    Tricolor Sweep
    linear-gradient(135deg, #307a1f, #1f307a, #7a1f30)

    Design Use Cases for #2F7A1F

    Balanced UI Color

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

    #2F7A1F falls in the green range (hue 109). 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 #2F7A1F (hue 109) to its complement at hue 289. For a subtler effect, try pairing with an analogous color at hue 139. Use CSS: background: linear-gradient(135deg, #2f7a1f, #691f7a);

    CSS Code for #2F7A1F

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

    Similar Colors

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

    Use This Color in Design Tools

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

    About Color #2F7A1F (#2F7A1F)

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

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

    The WCAG contrast ratio of #2F7A1F against white is 5.35: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 #691F7A creates maximum visual tension when paired with #2F7A1F. For more harmonious color combinations, use the analogous colours #5D7A1F and #1F7A3C, 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 #2F7A1F

    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 #2F7A1F?
    #2F7A1F is Color #2F7A1F, a green color (colour) with RGB(47, 122, 31), HSL(109, 59%, 30%), and CMYK(61%, 0%, 75%, 52%). Its perceived brightness is 89/255.
    Is #2F7A1F accessible for text?
    Against white, #2F7A1F has a contrast ratio of 5.35: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 #2F7A1F?
    The complementary colour is #691F7A (hue 289). For subtle color combinations, use analogous colours #5D7A1F and #1F7A3C. The triadic palette adds #1F307A and #7A1F30 for vibrant variety.
    How do I use #2F7A1F in CSS?
    Use any format: color: #2f7a1f; or rgb(47, 122, 31); or hsl(109, 59%, 30%). For CSS custom properties: --color-primary: 109 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.