#402D01

Closest named color: Pakistan Green (#283618). oklch(31.1% 0.063 82.9), rgb(64, 45, 1).

Aa

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

About this color

#402D01 is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.063 and its hue 83°. 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.17:1.

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

Values

HEX#402D01
RGBrgb(64, 45, 1)
HSLhsl(42, 97%, 13%)
OKLCHoklch(31.1% 0.063 82.9)

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 #402D01 13.17:1 AAA Lc -102.6 Preferred for body text
Black text on #402D01 1.59:1 Fails Lc 0.0 Not readable
#402D01 text on white 13.17:1 AAA Lc 99.3 Preferred for body text
#402D01 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

    #F1E9DA

    oklch(93.6% 0.022 83.3)

  3. Step 200

    200

    #E7D7BB

    oklch(88.5% 0.041 81.7)

  4. Step 300

    300

    #D8BD89

    oklch(80.9% 0.075 83.4)

  5. Step 400

    400

    #C5993D

    oklch(70.7% 0.12 82.8)

  6. Step 500

    500

    #AF8100

    oklch(63.2% 0.13 83.3)

  7. Step 600

    600

    #946C00

    oklch(55.7% 0.115 82.9)

  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)

    #402D01

    oklch(31.1% 0.063 82.9)

Export this scale for Tailwind in the Tailwind colors tool

#402D01 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.022
Deuteranopia (no green cones)#3932030.019
Tritanopia (no blue cones)#4727250.056
Achromatopsia (no color)#3030300.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #402D01

    #402D01

    oklch(31.1% 0.063 82.9)

  • #1F3050

    #1F3050

    oklch(31.1% 0.062 262.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402D01

    #402D01

    oklch(31.1% 0.063 82.9)

  • #49260E

    #49260E

    oklch(31% 0.064 52.4)

  • #313407

    #313407

    oklch(31.2% 0.063 113.3)

Open the analogous palette in the generator

Split complementary

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

  • #402D01

    #402D01

    oklch(31.1% 0.063 82.9)

  • #02354B

    #02354B

    oklch(31% 0.063 233.6)

  • #322A4D

    #322A4D

    oklch(31.1% 0.062 293)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402D01

    #402D01

    oklch(31.1% 0.063 82.9)

  • #00383C

    #00383C

    oklch(31% 0.053 202.6)

  • #402543

    #402543

    oklch(31.2% 0.063 323.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402D01

    #402D01

    oklch(31.1% 0.063 82.9)

  • #003A2E

    #003A2E

    oklch(31.1% 0.059 173.7)

  • #1F3050

    #1F3050

    oklch(31.1% 0.062 262.2)

  • #482233

    #482233

    oklch(31% 0.062 353.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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