#408D05

Closest named color: Forest Green (#228B22). oklch(57.2% 0.171 136.8), rgb(64, 141, 5).

Aa

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

About this color

#408D05 is a medium-dark, vivid green. In OKLCH its lightness is 57%, 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.023 away. Black text reads best on it, at 5.03:1.

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

Values

HEX#408D05
RGBrgb(64, 141, 5)
HSLhsl(94, 93%, 29%)
OKLCHoklch(57.2% 0.171 136.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 #408D05 4.17:1 AA large text Lc -73.9 Content text, not long reading
Black text on #408D05 5.03:1 AA Lc 35.7 Non-text elements, placeholder text
#408D05 text on white 4.17:1 AA large text Lc 68.4 Content text, not long reading
#408D05 text on black 5.03:1 AA Lc -33.3 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

    #AACD9C

    oklch(81% 0.077 136.9)

  5. Step 400

    400

    #7BB264

    oklch(70.6% 0.122 137)

  6. Step 500

    500

    #589E34

    oklch(63.1% 0.157 136.8)

  7. Step 600

    600 (this color)

    #408D05

    oklch(57.2% 0.171 136.8)

  8. Step 700

    700

    #327200

    oklch(49% 0.148 136.7)

  9. Step 800

    800

    #285E00

    oklch(42.8% 0.129 136.7)

  10. Step 900

    900

    #244D0D

    oklch(37.6% 0.102 136.9)

  11. Step 950

    950

    #162D0A

    oklch(26.9% 0.065 136.5)

Export this scale for Tailwind in the Tailwind colors tool

#408D05 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)#9280000.108
Deuteranopia (no green cones)#887A1D0.105
Tritanopia (no blue cones)#3B87770.122
Achromatopsia (no color)#7C7C7C0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #408D05

    #408D05

    oklch(57.2% 0.171 136.8)

  • #9F51B9

    #9F51B9

    oklch(57.2% 0.17 317)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #408D05

    #408D05

    oklch(57.2% 0.171 136.8)

  • #817C00

    #817C00

    oklch(57.2% 0.123 106.9)

  • #008D69

    #008D69

    oklch(57.1% 0.117 167.1)

Open the analogous palette in the generator

Split complementary

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

  • #408D05

    #408D05

    oklch(57.2% 0.171 136.8)

  • #7462D6

    #7462D6

    oklch(57.2% 0.171 286.8)

  • #BB448B

    #BB448B

    oklch(57.2% 0.171 347)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #408D05

    #408D05

    oklch(57.2% 0.171 136.8)

  • #2875DA

    #2875DA

    oklch(57.1% 0.172 257)

  • #C84153

    #C84153

    oklch(57.2% 0.17 16.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #408D05

    #408D05

    oklch(57.2% 0.171 136.8)

  • #0084AA

    #0084AA

    oklch(57.2% 0.11 226.9)

  • #9F51B9

    #9F51B9

    oklch(57.2% 0.17 317)

  • #BF5200

    #BF5200

    oklch(57% 0.158 46.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #408D05.

Similar named colors

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

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