#403F1F

Closest named color: Dark Olive (#373E02). oklch(36% 0.049 107.1), rgb(64, 63, 31).

Aa

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

About this color

#403F1F is a dark, muted brown. In OKLCH its lightness is 36%, its chroma 0.049 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.034 away. White text reads best on it, at 10.77:1.

Hue familyBrowns
Lightnessdark (36%)
Chromamuted (0.049)
Temperaturewarm
Nearest nameDark Olive (#373E02)
Black text1.94:1
White text10.77:1

Values

HEX#403F1F
RGBrgb(64, 63, 31)
HSLhsl(58, 35%, 19%)
OKLCHoklch(36% 0.049 107.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 #403F1F 10.77:1 AAA Lc -98.9 Preferred for body text
Black text on #403F1F 1.94:1 Fails Lc 9.0 Not readable
#403F1F text on white 10.77:1 AAA Lc 95.0 Preferred for body text
#403F1F text on black 1.94:1 Fails Lc -7.7 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 900.

  1. Step 50

    50

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EAEAE2

    oklch(93.5% 0.011 106.6)

  3. Step 200

    200

    #DADACB

    oklch(88.4% 0.02 106.8)

  4. Step 300

    300

    #C3C3A8

    oklch(81% 0.037 107.2)

  5. Step 400

    400

    #A4A479

    oklch(70.8% 0.059 107.8)

  6. Step 500

    500

    #8E8D56

    oklch(63.1% 0.075 107.5)

  7. Step 600

    600

    #79773A

    oklch(55.7% 0.083 107.1)

  8. Step 700

    700

    #66642C

    oklch(49.2% 0.077 107.1)

  9. Step 800

    800

    #535126

    oklch(42.6% 0.063 106.4)

  10. Step 900

    900 (this color)

    #403F1F

    oklch(36% 0.049 107.1)

  11. Step 950

    950

    #282815

    oklch(27.1% 0.032 108.4)

Export this scale for Tailwind in the Tailwind colors tool

#403F1F 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)#443D1C0.008
Deuteranopia (no green cones)#443E200.008
Tritanopia (no blue cones)#443B370.044
Achromatopsia (no color)#3E3E3E0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #403F1F

    #403F1F

    oklch(36% 0.049 107.1)

  • #3B3956

    #3B3956

    oklch(36% 0.05 286.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403F1F

    #403F1F

    oklch(36% 0.049 107.1)

  • #4C3A1E

    #4C3A1E

    oklch(36.1% 0.049 77.2)

  • #314329

    #314329

    oklch(36% 0.049 136.4)

Open the analogous palette in the generator

Split complementary

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

  • #403F1F

    #403F1F

    oklch(36% 0.049 107.1)

  • #2C3E57

    #2C3E57

    oklch(36% 0.049 256.7)

  • #48354E

    #48354E

    oklch(36% 0.049 317.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403F1F

    #403F1F

    oklch(36% 0.049 107.1)

  • #1D4251

    #1D4251

    oklch(35.9% 0.049 227.1)

  • #503242

    #503242

    oklch(35.9% 0.05 346.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403F1F

    #403F1F

    oklch(36% 0.049 107.1)

  • #174546

    #174546

    oklch(36% 0.049 197.2)

  • #3B3956

    #3B3956

    oklch(36% 0.05 286.8)

  • #543234

    #543234

    oklch(35.9% 0.05 16)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #403F1F 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.