#408F0C

Closest named color: Forest Green (#228B22). oklch(57.7% 0.171 137.2), rgb(64, 143, 12).

Aa

Black text reads best on this color (5.15:1).

About this color

#408F0C is a medium-dark, vivid green. In OKLCH its lightness is 58%, its chroma 0.171 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest Green (#228B22), ΔE 0.026 away. Black text reads best on it, at 5.15:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromavivid (0.171)
Temperaturein between
Nearest nameForest Green (#228B22)
Black text5.15:1
White text4.07:1

Values

HEX#408F0C
RGBrgb(64, 143, 12)
HSLhsl(96, 85%, 30%)
OKLCHoklch(57.7% 0.171 137.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 #408F0C 4.07:1 AA large text Lc -73.1 Content text, not long reading
Black text on #408F0C 5.15:1 AA Lc 36.5 Non-text elements, placeholder text
#408F0C text on white 4.07:1 AA large text Lc 67.6 Content text, not long reading
#408F0C text on black 5.15:1 AA Lc -34.1 Non-text elements, placeholder text

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

  1. Step 50

    50

    #F2F7F0

    oklch(97% 0.011 136.6)

  2. Step 100

    100

    #E3EEDF

    oklch(93.7% 0.023 137.2)

  3. Step 200

    200

    #CCE0C5

    oklch(88.4% 0.042 137.5)

  4. Step 300

    300

    #A9CD9C

    oklch(80.9% 0.077 137.5)

  5. Step 400

    400

    #7AB264

    oklch(70.6% 0.123 137.4)

  6. Step 500

    500

    #579E35

    oklch(63% 0.157 137.1)

  7. Step 600

    600 (this color)

    #408F0C

    oklch(57.7% 0.171 137.2)

  8. Step 700

    700

    #307300

    oklch(49.2% 0.15 137.3)

  9. Step 800

    800

    #265E00

    oklch(42.7% 0.13 137.2)

  10. Step 900

    900

    #244D0E

    oklch(37.6% 0.102 137.1)

  11. Step 950

    950

    #162D0B

    oklch(26.9% 0.064 136.9)

Export this scale for Tailwind in the Tailwind colors tool

#408F0C 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)#9482000.109
Deuteranopia (no green cones)#8A7B200.108
Tritanopia (no blue cones)#3A8A790.120
Achromatopsia (no color)#7E7E7E0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #408F0C

    #408F0C

    oklch(57.7% 0.171 137.2)

  • #A152BB

    #A152BB

    oklch(57.7% 0.172 317.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #408F0C

    #408F0C

    oklch(57.7% 0.171 137.2)

  • #827E00

    #827E00

    oklch(57.8% 0.124 107.5)

  • #008F6B

    #008F6B

    oklch(57.7% 0.118 167.3)

Open the analogous palette in the generator

Split complementary

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

  • #408F0C

    #408F0C

    oklch(57.7% 0.171 137.2)

  • #7663D7

    #7663D7

    oklch(57.6% 0.171 287.3)

  • #BD458C

    #BD458C

    oklch(57.6% 0.171 347.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #408F0C

    #408F0C

    oklch(57.7% 0.171 137.2)

  • #2C77DC

    #2C77DC

    oklch(57.8% 0.171 257.3)

  • #CA4253

    #CA4253

    oklch(57.6% 0.171 17.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #408F0C

    #408F0C

    oklch(57.7% 0.171 137.2)

  • #0086AD

    #0086AD

    oklch(57.8% 0.112 227.2)

  • #A152BB

    #A152BB

    oklch(57.7% 0.172 317.1)

  • #C15400

    #C15400

    oklch(57.6% 0.159 47.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #408F0C 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.