#2F5212

Closest named color: Navy Green (#35530A). oklch(39.7% 0.1 134), rgb(47, 82, 18).

Aa

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

About this color

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

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

Values

HEX#2F5212
RGBrgb(47, 82, 18)
HSLhsl(93, 64%, 20%)
OKLCHoklch(39.7% 0.1 134)

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 #2F5212 8.98:1 AAA Lc -94.9 Preferred for body text
Black text on #2F5212 2.33:1 Fails Lc 13.5 Not readable
#2F5212 text on white 8.98:1 AAA Lc 90.4 Preferred for body text
#2F5212 text on black 2.33:1 Fails Lc -11.8 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

    #F3F7F0

    oklch(97.1% 0.01 131.4)

  2. Step 100

    100

    #E4EDDF

    oklch(93.5% 0.021 134.1)

  3. Step 200

    200

    #CEE0C4

    oklch(88.6% 0.042 134.2)

  4. Step 300

    300

    #ADCC9B

    oklch(81% 0.075 134.2)

  5. Step 400

    400

    #81B162

    oklch(70.7% 0.12 134.1)

  6. Step 500

    500

    #609D31

    oklch(63.2% 0.154 134.3)

  7. Step 600

    600

    #488600

    oklch(55.6% 0.16 134.1)

  8. Step 700

    700

    #3C7100

    oklch(49.2% 0.141 134)

  9. Step 800

    800

    #305C00

    oklch(42.6% 0.122 134)

  10. Step 900

    900 (this color)

    #2F5212

    oklch(39.7% 0.1 134)

  11. Step 950

    950

    #192D09

    oklch(27.1% 0.064 133.8)

Export this scale for Tailwind in the Tailwind colors tool

#2F5212 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)#554B070.057
Deuteranopia (no green cones)#5148180.060
Tritanopia (no blue cones)#2F4F450.072
Achromatopsia (no color)#4949490.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5212

    #2F5212

    oklch(39.7% 0.1 134)

  • #5A346C

    #5A346C

    oklch(39.7% 0.1 314)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5212

    #2F5212

    oklch(39.7% 0.1 134)

  • #4F4900

    #4F4900

    oklch(39.9% 0.084 104.2)

  • #00553A

    #00553A

    oklch(39.8% 0.085 163.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F5212

    #2F5212

    oklch(39.7% 0.1 134)

  • #423D7A

    #423D7A

    oklch(39.7% 0.1 284.6)

  • #6B2E54

    #6B2E54

    oklch(39.8% 0.1 344.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5212

    #2F5212

    oklch(39.7% 0.1 134)

  • #1B487B

    #1B487B

    oklch(39.9% 0.099 253.9)

  • #732C36

    #732C36

    oklch(39.8% 0.1 14.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5212

    #2F5212

    oklch(39.7% 0.1 134)

  • #004F65

    #004F65

    oklch(39.8% 0.075 224.5)

  • #5A346C

    #5A346C

    oklch(39.7% 0.1 314)

  • #713212

    #713212

    oklch(39.8% 0.099 44.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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