#402D05

Closest named color: Pakistan Green (#283618). oklch(31.2% 0.06 81.2), rgb(64, 45, 5).

Aa

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

About this color

#402D05 is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.060 and its hue 81°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.047 away. White text reads best on it, at 13.16:1.

Hue familyBrowns
Lightnessdark (31%)
Chromamuted (0.060)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.59:1
White text13.16:1

Values

HEX#402D05
RGBrgb(64, 45, 5)
HSLhsl(41, 86%, 14%)
OKLCHoklch(31.2% 0.06 81.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 #402D05 13.16:1 AAA Lc -102.6 Preferred for body text
Black text on #402D05 1.59:1 Fails Lc 0.0 Not readable
#402D05 text on white 13.16:1 AAA Lc 99.3 Preferred for body text
#402D05 text on black 1.59: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 950.

  1. Step 50

    50

    #F9F5EE

    oklch(97.1% 0.01 81.8)

  2. Step 100

    100

    #F1E9DB

    oklch(93.7% 0.021 81.8)

  3. Step 200

    200

    #E7D7BC

    oklch(88.5% 0.04 80.9)

  4. Step 300

    300

    #D8BD8C

    oklch(81% 0.071 82.2)

  5. Step 400

    400

    #C49945

    oklch(70.7% 0.114 81.7)

  6. Step 500

    500

    #B18000

    oklch(63.2% 0.13 81.5)

  7. Step 600

    600

    #956B00

    oklch(55.6% 0.115 81.4)

  8. Step 700

    700

    #7E5900

    oklch(49% 0.101 80.5)

  9. Step 800

    800

    #674900

    oklch(42.7% 0.088 81.6)

  10. Step 900

    900

    #563C00

    oklch(37.6% 0.078 81.1)

  11. Step 950

    950 (this color)

    #402D05

    oklch(31.2% 0.06 81.2)

Export this scale for Tailwind in the Tailwind colors tool

#402D05 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)#352D000.024
Deuteranopia (no green cones)#3932070.020
Tritanopia (no blue cones)#4627250.052
Achromatopsia (no color)#3030300.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #402D05

    #402D05

    oklch(31.2% 0.06 81.2)

  • #1F304F

    #1F304F

    oklch(31.1% 0.06 261.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402D05

    #402D05

    oklch(31.2% 0.06 81.2)

  • #482712

    #482712

    oklch(31.1% 0.059 51.4)

  • #323309

    #323309

    oklch(31.1% 0.06 110.8)

Open the analogous palette in the generator

Split complementary

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

  • #402D05

    #402D05

    oklch(31.2% 0.06 81.2)

  • #043649

    #043649

    oklch(31.2% 0.059 229.9)

  • #312B4D

    #312B4D

    oklch(31.3% 0.06 290.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402D05

    #402D05

    oklch(31.2% 0.06 81.2)

  • #00383C

    #00383C

    oklch(31% 0.053 202.6)

  • #3E2643

    #3E2643

    oklch(31.1% 0.059 320.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402D05

    #402D05

    oklch(31.2% 0.06 81.2)

  • #023A2D

    #023A2D

    oklch(31.1% 0.059 171.9)

  • #1F304F

    #1F304F

    oklch(31.1% 0.06 261.7)

  • #472334

    #472334

    oklch(31.1% 0.06 351.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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