#405020

Closest named color: Navy Green (#35530A). oklch(40.6% 0.074 125), rgb(64, 80, 32).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (41%)
Chromamoderately saturated (0.074)
Temperaturein between
Nearest nameNavy Green (#35530A)
Black text2.38:1
White text8.80:1

Values

HEX#405020
RGBrgb(64, 80, 32)
HSLhsl(80, 43%, 22%)
OKLCHoklch(40.6% 0.074 125)

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 #405020 8.80:1 AAA Lc -94.5 Preferred for body text
Black text on #405020 2.38:1 Fails Lc 13.9 Not readable
#405020 text on white 8.80:1 AAA Lc 90.1 Preferred for body text
#405020 text on black 2.38:1 Fails Lc -12.2 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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D5DCCB

    oklch(88.4% 0.024 125.2)

  4. Step 300

    300

    #BAC6A8

    oklch(80.9% 0.043 125.1)

  5. Step 400

    400

    #97A979

    oklch(70.8% 0.07 124.8)

  6. Step 500

    500

    #7D9356

    oklch(63.1% 0.089 125.1)

  7. Step 600

    600

    #667D3A

    oklch(55.6% 0.097 125.1)

  8. Step 700

    700

    #55692D

    oklch(49% 0.089 124.9)

  9. Step 800

    800 (this color)

    #405020

    oklch(40.6% 0.074 125)

  10. Step 900

    900

    #3B4724

    oklch(37.8% 0.057 124.6)

  11. Step 950

    950

    #222A15

    oklch(27.1% 0.038 125.8)

Export this scale for Tailwind in the Tailwind colors tool

#405020 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)#544B1B0.033
Deuteranopia (no green cones)#524A230.035
Tritanopia (no blue cones)#434C450.060
Achromatopsia (no color)#4A4A4A0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #405020

    #405020

    oklch(40.6% 0.074 125)

  • #533E69

    #533E69

    oklch(40.5% 0.074 305.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405020

    #405020

    oklch(40.6% 0.074 125)

  • #564810

    #564810

    oklch(40.5% 0.074 94.4)

  • #235537

    #235537

    oklch(40.6% 0.074 154.8)

Open the analogous palette in the generator

Split complementary

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

  • #405020

    #405020

    oklch(40.6% 0.074 125)

  • #3E4571

    #3E4571

    oklch(40.5% 0.074 275.7)

  • #623959

    #623959

    oklch(40.6% 0.074 335.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405020

    #405020

    oklch(40.6% 0.074 125)

  • #224D6F

    #224D6F

    oklch(40.6% 0.075 245)

  • #6A3744

    #6A3744

    oklch(40.6% 0.074 4.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405020

    #405020

    oklch(40.6% 0.074 125)

  • #005361

    #005361

    oklch(40.7% 0.071 214)

  • #533E69

    #533E69

    oklch(40.5% 0.074 305.8)

  • #6B392D

    #6B392D

    oklch(40.5% 0.074 34.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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