#403F27

Closest named color: Charcoal Grey (#3C4142). oklch(36.2% 0.038 106.1), rgb(64, 63, 39).

Aa

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

About this color

#403F27 is a dark, muted brown. In OKLCH its lightness is 36%, its chroma 0.038 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.042 away. White text reads best on it, at 10.72:1.

Hue familyBrowns
Lightnessdark (36%)
Chromamuted (0.038)
Temperaturewarm
Nearest nameCharcoal Grey (#3C4142)
Black text1.95:1
White text10.72:1

Values

HEX#403F27
RGBrgb(64, 63, 39)
HSLhsl(58, 24%, 20%)
OKLCHoklch(36.2% 0.038 106.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 #403F27 10.72:1 AAA Lc -98.8 Preferred for body text
Black text on #403F27 1.95:1 Fails Lc 9.0 Not readable
#403F27 text on white 10.72:1 AAA Lc 94.9 Preferred for body text
#403F27 text on black 1.95:1 Fails Lc -7.8 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

    #F6F6F3

    oklch(97.2% 0.004 106.5)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #DADACE

    oklch(88.5% 0.016 106.7)

  4. Step 300

    300

    #C3C2AD

    oklch(80.9% 0.029 104.8)

  5. Step 400

    400

    #A4A382

    oklch(70.8% 0.046 106.1)

  6. Step 500

    500

    #8E8C62

    oklch(63.1% 0.059 105.7)

  7. Step 600

    600

    #787649

    oklch(55.6% 0.064 106.1)

  8. Step 700

    700

    #65633A

    oklch(49.1% 0.06 106)

  9. Step 800

    800

    #525130

    oklch(42.7% 0.05 106.8)

  10. Step 900

    900 (this color)

    #403F27

    oklch(36.2% 0.038 106.1)

  11. Step 950

    950

    #282719

    oklch(26.9% 0.024 104.5)

Export this scale for Tailwind in the Tailwind colors tool

#403F27 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)#433D250.007
Deuteranopia (no green cones)#443E280.008
Tritanopia (no blue cones)#433C390.034
Achromatopsia (no color)#3E3E3E0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #403F27

    #403F27

    oklch(36.2% 0.038 106.1)

  • #3C3B51

    #3C3B51

    oklch(36.3% 0.038 286.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403F27

    #403F27

    oklch(36.2% 0.038 106.1)

  • #493B26

    #493B26

    oklch(36.2% 0.039 77.2)

  • #34422E

    #34422E

    oklch(36% 0.038 136.5)

Open the analogous palette in the generator

Split complementary

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

  • #403F27

    #403F27

    oklch(36.2% 0.038 106.1)

  • #303F52

    #303F52

    oklch(36.3% 0.038 254.6)

  • #46374B

    #46374B

    oklch(36.1% 0.039 317.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403F27

    #403F27

    oklch(36.2% 0.038 106.1)

  • #27424D

    #27424D

    oklch(36.2% 0.038 225.8)

  • #4D3542

    #4D3542

    oklch(36.1% 0.04 345.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403F27

    #403F27

    oklch(36.2% 0.038 106.1)

  • #234444

    #234444

    oklch(36.2% 0.039 195.6)

  • #3C3B51

    #3C3B51

    oklch(36.3% 0.038 286.4)

  • #503537

    #503537

    oklch(36.1% 0.039 14.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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