#402402

Closest named color: Chocolate Brown (#411900). oklch(29% 0.062 65.9), rgb(64, 36, 2).

Aa

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

About this color

#402402 is a dark, muted brown. In OKLCH its lightness is 29%, its chroma 0.062 and its hue 66°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.030 away. White text reads best on it, at 14.27:1.

Hue familyBrowns
Lightnessdark (29%)
Chromamuted (0.062)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.47:1
White text14.27:1

Values

HEX#402402
RGBrgb(64, 36, 2)
HSLhsl(33, 94%, 13%)
OKLCHoklch(29% 0.062 65.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 #402402 14.27:1 AAA Lc -103.8 Preferred for body text
Black text on #402402 1.47:1 Fails Lc 0.0 Not readable
#402402 text on white 14.27:1 AAA Lc 100.8 Preferred for body text
#402402 text on black 1.47: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

    #FAF4EF

    oklch(97% 0.009 62.6)

  2. Step 100

    100

    #F4E7DB

    oklch(93.5% 0.021 65.3)

  3. Step 200

    200

    #EDD4BD

    oklch(88.5% 0.042 64.9)

  4. Step 300

    300

    #E2B88E

    oklch(81% 0.074 66.5)

  5. Step 400

    400

    #D29149

    oklch(70.7% 0.118 66.5)

  6. Step 500

    500

    #C27500

    oklch(63.2% 0.141 65.8)

  7. Step 600

    600

    #A36200

    oklch(55.6% 0.124 66.2)

  8. Step 700

    700

    #8A5200

    oklch(49.2% 0.11 66)

  9. Step 800

    800

    #714200

    oklch(42.6% 0.095 65.8)

  10. Step 900

    900

    #5F3700

    oklch(37.8% 0.084 66.2)

  11. Step 950

    950 (this color)

    #402402

    oklch(29% 0.062 65.9)

Export this scale for Tailwind in the Tailwind colors tool

#402402 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)#2D26000.041
Deuteranopia (no green cones)#342D020.036
Tritanopia (no blue cones)#471D1D0.048
Achromatopsia (no color)#2A2A2A0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #402402

    #402402

    oklch(29% 0.062 65.9)

  • #0B2E48

    #0B2E48

    oklch(29.1% 0.062 245)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402402

    #402402

    oklch(29% 0.062 65.9)

  • #451F14

    #451F14

    oklch(29.1% 0.062 37)

  • #342B00

    #342B00

    oklch(29% 0.06 96.7)

Open the analogous palette in the generator

Split complementary

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

  • #402402

    #402402

    oklch(29% 0.062 65.9)

  • #00323C

    #00323C

    oklch(29.2% 0.052 215.5)

  • #23284A

    #23284A

    oklch(29% 0.062 275.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402402

    #402402

    oklch(29% 0.062 65.9)

  • #00332F

    #00332F

    oklch(28.9% 0.051 186.5)

  • #332244

    #332244

    oklch(29% 0.063 305.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402402

    #402402

    oklch(29% 0.062 65.9)

  • #09341E

    #09341E

    oklch(28.9% 0.061 156.3)

  • #0B2E48

    #0B2E48

    oklch(29.1% 0.062 245)

  • #3E1E37

    #3E1E37

    oklch(28.9% 0.063 335.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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