#402E05

Closest named color: Pakistan Green (#283618). oklch(31.4% 0.06 83), rgb(64, 46, 5).

Aa

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

About this color

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

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

Values

HEX#402E05
RGBrgb(64, 46, 5)
HSLhsl(42, 86%, 14%)
OKLCHoklch(31.4% 0.06 83)

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 #402E05 13.03:1 AAA Lc -102.4 Preferred for body text
Black text on #402E05 1.61:1 Fails Lc 0.0 Not readable
#402E05 text on white 13.03:1 AAA Lc 99.2 Preferred for body text
#402E05 text on black 1.61: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

    #E6D7BC

    oklch(88.4% 0.04 82.3)

  4. Step 300

    300

    #D7BD8C

    oklch(80.9% 0.071 83)

  5. Step 400

    400

    #C39A44

    oklch(70.8% 0.114 83.4)

  6. Step 500

    500

    #AF8100

    oklch(63.2% 0.13 83.3)

  7. Step 600

    600

    #936C00

    oklch(55.6% 0.114 83.5)

  8. Step 700

    700

    #7C5A00

    oklch(49% 0.101 82.9)

  9. Step 800

    800

    #664A00

    oklch(42.8% 0.088 83.6)

  10. Step 900

    900

    #553D00

    oklch(37.7% 0.077 83.5)

  11. Step 950

    950 (this color)

    #402E05

    oklch(31.4% 0.06 83)

Export this scale for Tailwind in the Tailwind colors tool

#402E05 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)#362E000.022
Deuteranopia (no green cones)#3A33070.018
Tritanopia (no blue cones)#4628260.054
Achromatopsia (no color)#3131310.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #402E05

    #402E05

    oklch(31.4% 0.06 83)

  • #213150

    #213150

    oklch(31.5% 0.06 262.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402E05

    #402E05

    oklch(31.4% 0.06 83)

  • #492811

    #492811

    oklch(31.5% 0.061 53.4)

  • #32340B

    #32340B

    oklch(31.4% 0.059 112.1)

Open the analogous palette in the generator

Split complementary

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

  • #402E05

    #402E05

    oklch(31.4% 0.06 83)

  • #07364B

    #07364B

    oklch(31.4% 0.06 233.5)

  • #332B4D

    #332B4D

    oklch(31.5% 0.06 293.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402E05

    #402E05

    oklch(31.4% 0.06 83)

  • #00393D

    #00393D

    oklch(31.4% 0.053 202.5)

  • #402643

    #402643

    oklch(31.4% 0.061 323.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402E05

    #402E05

    oklch(31.4% 0.06 83)

  • #003B2E

    #003B2E

    oklch(31.4% 0.061 172.5)

  • #213150

    #213150

    oklch(31.5% 0.06 262.7)

  • #482434

    #482434

    oklch(31.4% 0.059 352.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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