#402F19

Closest named color: Pakistan Green (#283618). oklch(31.9% 0.043 72.4), rgb(64, 47, 25).

Aa

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

About this color

#402F19 is a dark, muted brown. In OKLCH its lightness is 32%, its chroma 0.043 and its hue 72°. 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 12.81:1.

Hue familyBrowns
Lightnessdark (32%)
Chromamuted (0.043)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.63:1
White text12.81:1

Values

HEX#402F19
RGBrgb(64, 47, 25)
HSLhsl(34, 44%, 17%)
OKLCHoklch(31.9% 0.043 72.4)

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 #402F19 12.81:1 AAA Lc -102.2 Preferred for body text
Black text on #402F19 1.63:1 Fails Lc 0.0 Not readable
#402F19 text on white 12.81:1 AAA Lc 98.9 Preferred for body text
#402F19 text on black 1.63: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

    #F8F5F1

    oklch(97.1% 0.006 75.4)

  2. Step 100

    100

    #F0E9DF

    oklch(93.7% 0.015 77.1)

  3. Step 200

    200

    #E5D7C5

    oklch(88.6% 0.029 74.3)

  4. Step 300

    300

    #D5BC9D

    oklch(80.9% 0.051 73)

  5. Step 400

    400

    #C09967

    oklch(70.8% 0.081 72.8)

  6. Step 500

    500

    #B07F3C

    oklch(63.2% 0.103 72.4)

  7. Step 600

    600

    #9B6713

    oklch(55.6% 0.112 72.4)

  8. Step 700

    700

    #845501

    oklch(49% 0.104 72.3)

  9. Step 800

    800

    #6C4609

    oklch(42.7% 0.087 72.1)

  10. Step 900

    900

    #573B13

    oklch(37.6% 0.067 72.5)

  11. Step 950

    950 (this color)

    #402F19

    oklch(31.9% 0.043 72.4)

Export this scale for Tailwind in the Tailwind colors tool

#402F19 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)#3530170.022
Deuteranopia (no green cones)#39341A0.020
Tritanopia (no blue cones)#462B2A0.036
Achromatopsia (no color)#3232320.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #402F19

    #402F19

    oklch(31.9% 0.043 72.4)

  • #223448

    #223448

    oklch(31.9% 0.043 251.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #402F19

    #402F19

    oklch(31.9% 0.043 72.4)

  • #452B21

    #452B21

    oklch(31.8% 0.043 41.8)

  • #373319

    #373319

    oklch(31.8% 0.042 100.7)

Open the analogous palette in the generator

Split complementary

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

  • #402F19

    #402F19

    oklch(31.9% 0.043 72.4)

  • #173742

    #173742

    oklch(31.8% 0.042 223.1)

  • #2F3048

    #2F3048

    oklch(31.9% 0.043 281.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #402F19

    #402F19

    oklch(31.9% 0.043 72.4)

  • #143938

    #143938

    oklch(31.8% 0.042 192.8)

  • #3A2C42

    #3A2C42

    oklch(31.8% 0.043 312.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #402F19

    #402F19

    oklch(31.9% 0.043 72.4)

  • #1D392C

    #1D392C

    oklch(31.8% 0.042 162.7)

  • #223448

    #223448

    oklch(31.9% 0.043 251.8)

  • #422A39

    #422A39

    oklch(32% 0.043 341.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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