#2F5D27

Closest named color: Pine (#2B5D34). oklch(43.2% 0.098 140.8), rgb(47, 93, 39).

Aa

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

About this color

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

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

Values

HEX#2F5D27
RGBrgb(47, 93, 39)
HSLhsl(111, 41%, 26%)
OKLCHoklch(43.2% 0.098 140.8)

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 #2F5D27 7.73:1 AAA Lc -91.4 Preferred for body text
Black text on #2F5D27 2.71:1 Fails Lc 17.3 Dividers and decoration only
#2F5D27 text on white 7.73:1 AAA Lc 86.7 Fine for body text
#2F5D27 text on black 2.71:1 Fails Lc -15.4 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE2

    oklch(93.6% 0.017 140)

  3. Step 200

    200

    #CEDFCB

    oklch(88.5% 0.033 141)

  4. Step 300

    300

    #ADCAA8

    oklch(80.8% 0.056 141)

  5. Step 400

    400

    #81AF79

    oklch(70.7% 0.091 140.9)

  6. Step 500

    500

    #609B56

    oklch(63.2% 0.117 140.9)

  7. Step 600

    600

    #45853A

    oklch(55.6% 0.127 140.8)

  8. Step 700

    700

    #36702C

    oklch(48.9% 0.118 140.8)

  9. Step 800

    800 (this color)

    #2F5D27

    oklch(43.2% 0.098 140.8)

  10. Step 900

    900

    #294B23

    oklch(37.6% 0.076 140.7)

  11. Step 950

    950

    #192C15

    oklch(27% 0.048 140.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F5D27 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)#5F55220.068
Deuteranopia (no green cones)#59512B0.068
Tritanopia (no blue cones)#2B5A510.065
Achromatopsia (no color)#5353530.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5D27

    #2F5D27

    oklch(43.2% 0.098 140.8)

  • #683C71

    #683C71

    oklch(43.1% 0.099 320.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5D27

    #2F5D27

    oklch(43.2% 0.098 140.8)

  • #535400

    #535400

    oklch(43.1% 0.094 110.6)

  • #005F4A

    #005F4A

    oklch(43.2% 0.085 171)

Open the analogous palette in the generator

Split complementary

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

  • #2F5D27

    #2F5D27

    oklch(43.2% 0.098 140.8)

  • #514581

    #514581

    oklch(43.1% 0.097 291)

  • #773757

    #773757

    oklch(43.2% 0.098 350.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5D27

    #2F5D27

    oklch(43.2% 0.098 140.8)

  • #304F85

    #304F85

    oklch(43.1% 0.097 260.8)

  • #7D3739

    #7D3739

    oklch(43.1% 0.098 20.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5D27

    #2F5D27

    oklch(43.2% 0.098 140.8)

  • #005877

    #005877

    oklch(43.2% 0.087 230.9)

  • #683C71

    #683C71

    oklch(43.1% 0.099 320.6)

  • #793E16

    #793E16

    oklch(43.1% 0.097 51)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2F5D27 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.