#405200

Closest named color: Navy Green (#35530A). oklch(40.8% 0.1 123), rgb(64, 82, 0).

Aa

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

About this color

#405200 is a dark, moderately saturated yellow. In OKLCH its lightness is 41%, its chroma 0.100 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.014 away. White text reads best on it, at 8.66:1.

Hue familyYellows
Lightnessdark (41%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.42:1
White text8.66:1

Values

HEX#405200
RGBrgb(64, 82, 0)
HSLhsl(73, 100%, 16%)
OKLCHoklch(40.8% 0.1 123)

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 #405200 8.66:1 AAA Lc -94.1 Preferred for body text
Black text on #405200 2.42:1 Fails Lc 14.4 Not readable
#405200 text on white 8.66:1 AAA Lc 89.5 Fine for body text
#405200 text on black 2.42:1 Fails Lc -12.7 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 800.

  1. Step 50

    50

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D5DDC6

    oklch(88.5% 0.032 122.7)

  4. Step 300

    300

    #B9C79E

    oklch(80.8% 0.058 123)

  5. Step 400

    400

    #95AA68

    oklch(70.6% 0.093 123.2)

  6. Step 500

    500

    #7C953C

    oklch(63.1% 0.119 123)

  7. Step 600

    600

    #657F12

    oklch(55.6% 0.13 123.2)

  8. Step 700

    700

    #546B00

    oklch(49.1% 0.121 123.1)

  9. Step 800

    800 (this color)

    #405200

    oklch(40.8% 0.1 123)

  10. Step 900

    900

    #3A4813

    oklch(37.7% 0.078 122.9)

  11. Step 950

    950

    #222A0D

    oklch(26.9% 0.049 122.6)

Export this scale for Tailwind in the Tailwind colors tool

#405200 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)#584C000.042
Deuteranopia (no green cones)#554B0A0.041
Tritanopia (no blue cones)#444D440.083
Achromatopsia (no color)#4B4B4B0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #405200

    #405200

    oklch(40.8% 0.1 123)

  • #553A76

    #553A76

    oklch(40.8% 0.101 303)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405200

    #405200

    oklch(40.8% 0.1 123)

  • #5A4800

    #5A4800

    oklch(40.9% 0.084 92.4)

  • #0A592E

    #0A592E

    oklch(40.9% 0.101 152.8)

Open the analogous palette in the generator

Split complementary

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

  • #405200

    #405200

    oklch(40.8% 0.1 123)

  • #394480

    #394480

    oklch(40.9% 0.101 273.3)

  • #693361

    #693361

    oklch(40.9% 0.1 333)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405200

    #405200

    oklch(40.8% 0.1 123)

  • #004E7B

    #004E7B

    oklch(40.8% 0.1 243.5)

  • #742F45

    #742F45

    oklch(40.8% 0.1 2.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405200

    #405200

    oklch(40.8% 0.1 123)

  • #005461

    #005461

    oklch(40.9% 0.072 212.6)

  • #553A76

    #553A76

    oklch(40.8% 0.101 303)

  • #773224

    #773224

    oklch(41% 0.1 33.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405200 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.