#402804

Closest named color: Chocolate Brown (#411900). oklch(30% 0.06 72.1), rgb(64, 40, 4).

Aa

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

About this color

#402804 is a dark, muted brown. In OKLCH its lightness is 30%, its chroma 0.060 and its hue 72°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.041 away. White text reads best on it, at 13.78:1.

Hue familyBrowns
Lightnessdark (30%)
Chromamuted (0.060)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.52:1
White text13.78:1

Values

HEX#402804
RGBrgb(64, 40, 4)
HSLhsl(36, 88%, 13%)
OKLCHoklch(30% 0.06 72.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 #402804 13.78:1 AAA Lc -103.3 Preferred for body text
Black text on #402804 1.52:1 Fails Lc 0.0 Not readable
#402804 text on white 13.78:1 AAA Lc 100.2 Preferred for body text
#402804 text on black 1.52: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

    #FAF5EF

    oklch(97.2% 0.01 72.7)

  2. Step 100

    100

    #F3E8DB

    oklch(93.6% 0.021 72.1)

  3. Step 200

    200

    #EAD6BD

    oklch(88.6% 0.04 73.4)

  4. Step 300

    300

    #DEBA8E

    oklch(81% 0.071 72.1)

  5. Step 400

    400

    #CC9449

    oklch(70.6% 0.114 72)

  6. Step 500

    500

    #BB7A00

    oklch(63.2% 0.135 72.2)

  7. Step 600

    600

    #9D6600

    oklch(55.6% 0.119 72.5)

  8. Step 700

    700

    #855500

    oklch(49.1% 0.105 71.8)

  9. Step 800

    800

    #6D4500

    oklch(42.6% 0.091 72)

  10. Step 900

    900

    #5B3900

    oklch(37.6% 0.08 72.2)

  11. Step 950

    950 (this color)

    #402804

    oklch(30% 0.06 72.1)

Export this scale for Tailwind in the Tailwind colors tool

#402804 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)#302A000.034
Deuteranopia (no green cones)#362F050.028
Tritanopia (no blue cones)#4722210.049
Achromatopsia (no color)#2D2D2D0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #402804

    #402804

    oklch(30% 0.06 72.1)

  • #152F4B

    #152F4B

    oklch(30% 0.06 252)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402804

    #402804

    oklch(30% 0.06 72.1)

  • #462214

    #462214

    oklch(29.8% 0.06 41.5)

  • #342E03

    #342E03

    oklch(29.9% 0.059 101.1)

Open the analogous palette in the generator

Split complementary

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

  • #402804

    #402804

    oklch(30% 0.06 72.1)

  • #003442

    #003442

    oklch(30.1% 0.056 221.9)

  • #29294B

    #29294B

    oklch(29.9% 0.061 282.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402804

    #402804

    oklch(30% 0.06 72.1)

  • #003634

    #003634

    oklch(30.1% 0.052 190.8)

  • #382443

    #382443

    oklch(29.9% 0.06 312.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402804

    #402804

    oklch(30% 0.06 72.1)

  • #073724

    #073724

    oklch(30% 0.061 161.6)

  • #152F4B

    #152F4B

    oklch(30% 0.06 252)

  • #422136

    #422136

    oklch(30.1% 0.059 342.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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