#2F6217

Closest named color: Camouflage Green (#4B6113). oklch(44.4% 0.119 137.6), rgb(47, 98, 23).

Aa

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

About this color

#2F6217 is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.119 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camouflage Green (#4B6113), ΔE 0.033 away. White text reads best on it, at 7.29:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameCamouflage Green (#4B6113)
Black text2.88:1
White text7.29:1

Values

HEX#2F6217
RGBrgb(47, 98, 23)
HSLhsl(101, 62%, 24%)
OKLCHoklch(44.4% 0.119 137.6)

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 #2F6217 7.29:1 AAA Lc -90.0 Fine for body text
Black text on #2F6217 2.88:1 Fails Lc 19.0 Dividers and decoration only
#2F6217 text on white 7.29:1 AAA Lc 85.1 Fine for body text
#2F6217 text on black 2.88:1 Fails Lc -16.9 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CDE0C7

    oklch(88.6% 0.039 138.2)

  4. Step 300

    300

    #ABCCA0

    oklch(80.9% 0.07 137.9)

  5. Step 400

    400

    #7EB16B

    oklch(70.7% 0.112 137.6)

  6. Step 500

    500

    #5C9D42

    oklch(63.2% 0.142 137.7)

  7. Step 600

    600

    #40871D

    oklch(55.6% 0.155 137.7)

  8. Step 700

    700

    #32720D

    oklch(49.1% 0.143 137.5)

  9. Step 800

    800 (this color)

    #2F6217

    oklch(44.4% 0.119 137.6)

  10. Step 900

    900

    #274C17

    oklch(37.6% 0.092 137.5)

  11. Step 950

    950

    #172D0F

    oklch(27% 0.059 138.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F6217 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)#65590A0.075
Deuteranopia (no green cones)#5F551E0.076
Tritanopia (no blue cones)#2C5E530.083
Achromatopsia (no color)#5656560.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F6217

    #2F6217

    oklch(44.4% 0.119 137.6)

  • #6E3B7E

    #6E3B7E

    oklch(44.4% 0.119 317.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F6217

    #2F6217

    oklch(44.4% 0.119 137.6)

  • #5A5700

    #5A5700

    oklch(44.5% 0.096 107.4)

  • #00634A

    #00634A

    oklch(44.4% 0.09 168.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F6217

    #2F6217

    oklch(44.4% 0.119 137.6)

  • #514691

    #514691

    oklch(44.4% 0.119 287.2)

  • #813360

    #813360

    oklch(44.4% 0.12 347.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F6217

    #2F6217

    oklch(44.4% 0.119 137.6)

  • #245394

    #245394

    oklch(44.5% 0.118 257.3)

  • #89323B

    #89323B

    oklch(44.4% 0.119 17.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F6217

    #2F6217

    oklch(44.4% 0.119 137.6)

  • #005C79

    #005C79

    oklch(44.3% 0.087 228.2)

  • #6E3B7E

    #6E3B7E

    oklch(44.4% 0.119 317.6)

  • #863A05

    #863A05

    oklch(44.4% 0.119 47.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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