#402C01

Closest named color: Pakistan Green (#283618). oklch(30.9% 0.063 81.1), rgb(64, 44, 1).

Aa

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

About this color

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

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

Values

HEX#402C01
RGBrgb(64, 44, 1)
HSLhsl(41, 97%, 13%)
OKLCHoklch(30.9% 0.063 81.1)

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 #402C01 13.30:1 AAA Lc -102.7 Preferred for body text
Black text on #402C01 1.57:1 Fails Lc 0.0 Not readable
#402C01 text on white 13.30:1 AAA Lc 99.5 Preferred for body text
#402C01 text on black 1.57: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

    #D9BC8A

    oklch(80.8% 0.074 80.9)

  5. Step 400

    400

    #C6983F

    oklch(70.7% 0.119 81.1)

  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)

    #402C01

    oklch(30.9% 0.063 81.1)

Export this scale for Tailwind in the Tailwind colors tool

#402C01 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)#342C000.024
Deuteranopia (no green cones)#3932030.022
Tritanopia (no blue cones)#4726240.055
Achromatopsia (no color)#2F2F2F0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #402C01

    #402C01

    oklch(30.9% 0.063 81.1)

  • #1D2F50

    #1D2F50

    oklch(30.8% 0.064 261.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402C01

    #402C01

    oklch(30.9% 0.063 81.1)

  • #49260F

    #49260F

    oklch(31% 0.063 51.6)

  • #313305

    #313305

    oklch(30.9% 0.064 112.1)

Open the analogous palette in the generator

Split complementary

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

  • #402C01

    #402C01

    oklch(30.9% 0.063 81.1)

  • #00354A

    #00354A

    oklch(30.9% 0.063 231.7)

  • #302A4D

    #302A4D

    oklch(30.9% 0.062 290.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402C01

    #402C01

    oklch(30.9% 0.063 81.1)

  • #00383B

    #00383B

    oklch(31% 0.053 200.7)

  • #3E2543

    #3E2543

    oklch(30.9% 0.062 320.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402C01

    #402C01

    oklch(30.9% 0.063 81.1)

  • #003A2C

    #003A2C

    oklch(31% 0.061 170.8)

  • #1D2F50

    #1D2F50

    oklch(30.8% 0.064 261.7)

  • #472234

    #472234

    oklch(30.9% 0.062 350.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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