#2F5F28

Closest named color: Pine (#2B5D34). oklch(43.8% 0.1 141.2), rgb(47, 95, 40).

Aa

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

About this color

#2F5F28 is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.100 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.018 away. White text reads best on it, at 7.53:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.78:1
White text7.53:1

Values

HEX#2F5F28
RGBrgb(47, 95, 40)
HSLhsl(112, 41%, 26%)
OKLCHoklch(43.8% 0.1 141.2)

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 #2F5F28 7.53:1 AAA Lc -90.8 Preferred for body text
Black text on #2F5F28 2.78:1 Fails Lc 18.0 Dividers and decoration only
#2F5F28 text on white 7.53:1 AAA Lc 86.0 Fine for body text
#2F5F28 text on black 2.78:1 Fails Lc -16.1 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

    #ACCBA8

    oklch(81% 0.059 141.9)

  5. Step 400

    400

    #80AF78

    oklch(70.6% 0.093 140.9)

  6. Step 500

    500

    #5E9B55

    oklch(63% 0.119 141.2)

  7. Step 600

    600

    #438539

    oklch(55.5% 0.129 141.1)

  8. Step 700

    700

    #34712B

    oklch(49.1% 0.121 141.2)

  9. Step 800

    800 (this color)

    #2F5F28

    oklch(43.8% 0.1 141.2)

  10. Step 900

    900

    #284C23

    oklch(37.8% 0.079 141.3)

  11. Step 950

    950

    #182C15

    oklch(26.9% 0.049 141.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F5F28 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)#6157230.070
Deuteranopia (no green cones)#5B532C0.070
Tritanopia (no blue cones)#2A5C530.066
Achromatopsia (no color)#5454540.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5F28

    #2F5F28

    oklch(43.8% 0.1 141.2)

  • #6A3D73

    #6A3D73

    oklch(43.6% 0.101 320.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5F28

    #2F5F28

    oklch(43.8% 0.1 141.2)

  • #545600

    #545600

    oklch(43.7% 0.096 111.3)

  • #00614C

    #00614C

    oklch(43.9% 0.086 171.3)

Open the analogous palette in the generator

Split complementary

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

  • #2F5F28

    #2F5F28

    oklch(43.8% 0.1 141.2)

  • #534684

    #534684

    oklch(43.7% 0.1 291.3)

  • #7A3858

    #7A3858

    oklch(43.8% 0.1 351.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5F28

    #2F5F28

    oklch(43.8% 0.1 141.2)

  • #315088

    #315088

    oklch(43.6% 0.1 261.3)

  • #803839

    #803839

    oklch(43.8% 0.1 21.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5F28

    #2F5F28

    oklch(43.8% 0.1 141.2)

  • #005A7A

    #005A7A

    oklch(43.9% 0.089 231.3)

  • #6A3D73

    #6A3D73

    oklch(43.6% 0.101 320.8)

  • #7C3F15

    #7C3F15

    oklch(43.8% 0.1 51)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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