#2F5E17

Closest named color: Pine (#2B5D34). oklch(43.3% 0.113 137.1), rgb(47, 94, 23).

Aa

White text reads best on this color (7.68:1).

About this color

#2F5E17 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.113 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.033 away. White text reads best on it, at 7.68:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.73:1
White text7.68:1

Values

HEX#2F5E17
RGBrgb(47, 94, 23)
HSLhsl(100, 61%, 23%)
OKLCHoklch(43.3% 0.113 137.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #2F5E17 7.68:1 AAA Lc -91.2 Preferred for body text
Black text on #2F5E17 2.73:1 Fails Lc 17.6 Dividers and decoration only
#2F5E17 text on white 7.68:1 AAA Lc 86.4 Fine for body text
#2F5E17 text on black 2.73:1 Fails Lc -15.6 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CEDFC8

    oklch(88.5% 0.036 137.5)

  4. Step 300

    300

    #ADCBA1

    oklch(80.9% 0.066 136.8)

  5. Step 400

    400

    #81B06E

    oklch(70.7% 0.105 137)

  6. Step 500

    500

    #609C45

    oklch(63.2% 0.136 137)

  7. Step 600

    600

    #458623

    oklch(55.6% 0.147 137)

  8. Step 700

    700

    #367115

    oklch(49% 0.136 137.1)

  9. Step 800

    800 (this color)

    #2F5E17

    oklch(43.3% 0.113 137.1)

  10. Step 900

    900

    #294C19

    oklch(37.7% 0.088 137.1)

  11. Step 950

    950

    #192D10

    oklch(27.2% 0.056 136.9)

Export this scale for Tailwind in the Tailwind colors tool

#2F5E17 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#61560C0.071
Deuteranopia (no green cones)#5B521E0.071
Tritanopia (no blue cones)#2C5A500.081
Achromatopsia (no color)#5353530.114

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #2F5E17

    #2F5E17

    oklch(43.3% 0.113 137.1)

  • #693A79

    #693A79

    oklch(43.3% 0.113 317)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5E17

    #2F5E17

    oklch(43.3% 0.113 137.1)

  • #575300

    #575300

    oklch(43.2% 0.092 106.5)

  • #006046

    #006046

    oklch(43.4% 0.089 166.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #2F5E17

    #2F5E17

    oklch(43.3% 0.113 137.1)

  • #4E448B

    #4E448B

    oklch(43.3% 0.114 287.1)

  • #7B325C

    #7B325C

    oklch(43.2% 0.114 347.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5E17

    #2F5E17

    oklch(43.3% 0.113 137.1)

  • #23508D

    #23508D

    oklch(43.3% 0.112 256.9)

  • #833139

    #833139

    oklch(43.2% 0.113 17.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5E17

    #2F5E17

    oklch(43.3% 0.113 137.1)

  • #005974

    #005974

    oklch(43.3% 0.084 227.1)

  • #693A79

    #693A79

    oklch(43.3% 0.113 317)

  • #81380A

    #81380A

    oklch(43.3% 0.114 46.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #2F5E17, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #2F5E17 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.