#20400B

Closest named color: Forrest Green (#154406). oklch(33.4% 0.087 135.8), rgb(32, 64, 11).

Aa

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

About this color

#20400B is a dark, moderately saturated green. In OKLCH its lightness is 33%, its chroma 0.087 and its hue 136°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forrest Green (#154406), ΔE 0.018 away. White text reads best on it, at 11.66:1.

Hue familyGreens
Lightnessdark (33%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameForrest Green (#154406)
Black text1.79:1
White text11.66:1

Values

HEX#20400B
RGBrgb(32, 64, 11)
HSLhsl(96, 71%, 15%)
OKLCHoklch(33.4% 0.087 135.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 #20400B 11.66:1 AAA Lc -100.3 Preferred for body text
Black text on #20400B 1.79:1 Fails Lc 0.0 Not readable
#20400B text on white 11.66:1 AAA Lc 96.6 Preferred for body text
#20400B text on black 1.79:1 Fails Lc 0.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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CFDFC7

    oklch(88.5% 0.037 135)

  4. Step 300

    300

    #AECBA1

    oklch(80.9% 0.066 136)

  5. Step 400

    400

    #83B06D

    oklch(70.8% 0.105 135.9)

  6. Step 500

    500

    #639B44

    oklch(63.1% 0.133 135.7)

  7. Step 600

    600

    #498521

    oklch(55.5% 0.145 135.7)

  8. Step 700

    700

    #3A7112

    oklch(49.2% 0.136 135.7)

  9. Step 800

    800

    #305C13

    oklch(42.7% 0.113 135.8)

  10. Step 900

    900 (this color)

    #20400B

    oklch(33.4% 0.087 135.8)

  11. Step 950

    950

    #1A2C0F

    oklch(26.9% 0.055 135)

Export this scale for Tailwind in the Tailwind colors tool

#20400B 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)#433A030.054
Deuteranopia (no green cones)#3E37100.054
Tritanopia (no blue cones)#1F3D360.064
Achromatopsia (no color)#3838380.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #20400B

    #20400B

    oklch(33.4% 0.087 135.8)

  • #472655

    #472655

    oklch(33.4% 0.088 315)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20400B

    #20400B

    oklch(33.4% 0.087 135.8)

  • #3C3800

    #3C3800

    oklch(33.4% 0.071 105.2)

  • #00422E

    #00422E

    oklch(33.6% 0.07 165.5)

Open the analogous palette in the generator

Split complementary

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

  • #20400B

    #20400B

    oklch(33.4% 0.087 135.8)

  • #332E61

    #332E61

    oklch(33.5% 0.087 285.1)

  • #552140

    #552140

    oklch(33.5% 0.087 346)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20400B

    #20400B

    oklch(33.4% 0.087 135.8)

  • #133662

    #133662

    oklch(33.3% 0.088 255.8)

  • #5B2027

    #5B2027

    oklch(33.5% 0.087 16)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20400B

    #20400B

    oklch(33.4% 0.087 135.8)

  • #003D4F

    #003D4F

    oklch(33.5% 0.063 224.9)

  • #472655

    #472655

    oklch(33.4% 0.088 315)

  • #5A2506

    #5A2506

    oklch(33.6% 0.088 46.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #20400B 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.