#2F5227

Closest named color: Navy Green (#35530A). oklch(40% 0.08 139.9), rgb(47, 82, 39).

Aa

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

About this color

#2F5227 is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.080 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.027 away. White text reads best on it, at 8.90:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.080)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.35:1
White text8.90:1

Values

HEX#2F5227
RGBrgb(47, 82, 39)
HSLhsl(109, 36%, 24%)
OKLCHoklch(40% 0.08 139.9)

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 #2F5227 8.90:1 AAA Lc -94.7 Preferred for body text
Black text on #2F5227 2.35:1 Fails Lc 13.7 Not readable
#2F5227 text on white 8.90:1 AAA Lc 90.3 Preferred for body text
#2F5227 text on black 2.35:1 Fails Lc -12.0 Not readable

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 900.

  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

    #CEDFCA

    oklch(88.5% 0.034 139.7)

  4. Step 300

    300

    #ADCBA6

    oklch(81% 0.06 139.8)

  5. Step 400

    400

    #81AF76

    oklch(70.6% 0.095 139.6)

  6. Step 500

    500

    #5F9B52

    oklch(63% 0.122 140.1)

  7. Step 600

    600

    #448535

    oklch(55.5% 0.132 140)

  8. Step 700

    700

    #357127

    oklch(49.1% 0.124 140)

  9. Step 800

    800

    #2D5C22

    oklch(42.7% 0.102 140)

  10. Step 900

    900 (this color)

    #2F5227

    oklch(40% 0.08 139.9)

  11. Step 950

    950

    #182C14

    oklch(26.9% 0.05 140.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F5227 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)#544C230.055
Deuteranopia (no green cones)#4F482A0.056
Tritanopia (no blue cones)#2C50480.053
Achromatopsia (no color)#4A4A4A0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5227

    #2F5227

    oklch(40% 0.08 139.9)

  • #5B3962

    #5B3962

    oklch(40.1% 0.079 320.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5227

    #2F5227

    oklch(40% 0.08 139.9)

  • #4B4B0D

    #4B4B0D

    oklch(40% 0.08 109.5)

  • #005541

    #005541

    oklch(40% 0.079 170)

Open the analogous palette in the generator

Split complementary

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

  • #2F5227

    #2F5227

    oklch(40% 0.08 139.9)

  • #473F70

    #473F70

    oklch(39.9% 0.081 289.7)

  • #67344E

    #67344E

    oklch(40% 0.08 349.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5227

    #2F5227

    oklch(40% 0.08 139.9)

  • #2D4772

    #2D4772

    oklch(39.9% 0.08 260)

  • #6C3436

    #6C3436

    oklch(39.9% 0.08 19.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5227

    #2F5227

    oklch(40% 0.08 139.9)

  • #004F6A

    #004F6A

    oklch(40% 0.08 229.7)

  • #5B3962

    #5B3962

    oklch(40.1% 0.079 320.6)

  • #69391C

    #69391C

    oklch(39.9% 0.08 49.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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