#40402C

Closest named color: Charcoal Grey (#3C4142). oklch(36.6% 0.032 107.9), rgb(64, 64, 44).

Aa

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

About this color

#40402C is a dark, muted brown. In OKLCH its lightness is 37%, its chroma 0.032 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.035 away. White text reads best on it, at 10.56:1.

Hue familyBrowns
Lightnessdark (37%)
Chromamuted (0.032)
Temperaturewarm
Nearest nameCharcoal Grey (#3C4142)
Black text1.98:1
White text10.56:1

Values

HEX#40402C
RGBrgb(64, 64, 44)
HSLhsl(60, 19%, 21%)
OKLCHoklch(36.6% 0.032 107.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 #40402C 10.56:1 AAA Lc -98.5 Preferred for body text
Black text on #40402C 1.98:1 Fails Lc 9.4 Not readable
#40402C text on white 10.56:1 AAA Lc 94.5 Preferred for body text
#40402C text on black 1.98:1 Fails Lc -8.1 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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE5

    oklch(93.6% 0.007 106.5)

  3. Step 200

    200

    #DADAD0

    oklch(88.6% 0.013 106.7)

  4. Step 300

    300

    #C2C2B0

    oklch(80.9% 0.025 106.9)

  5. Step 400

    400

    #A2A387

    oklch(70.7% 0.039 109)

  6. Step 500

    500

    #8C8C69

    oklch(63.1% 0.05 107.7)

  7. Step 600

    600

    #767651

    oklch(55.6% 0.054 108)

  8. Step 700

    700

    #636341

    oklch(49.1% 0.051 108.1)

  9. Step 800

    800

    #515136

    oklch(42.7% 0.042 108)

  10. Step 900

    900 (this color)

    #40402C

    oklch(36.6% 0.032 107.9)

  11. Step 950

    950

    #27271C

    oklch(26.9% 0.019 107.6)

Export this scale for Tailwind in the Tailwind colors tool

#40402C 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)#433E2B0.008
Deuteranopia (no green cones)#443F2D0.008
Tritanopia (no blue cones)#433E3B0.028
Achromatopsia (no color)#3F3F3F0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #40402C

    #40402C

    oklch(36.6% 0.032 107.9)

  • #3D3C4F

    #3D3C4F

    oklch(36.5% 0.033 287.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40402C

    #40402C

    oklch(36.6% 0.032 107.9)

  • #483D2B

    #483D2B

    oklch(36.6% 0.033 79.7)

  • #364332

    #364332

    oklch(36.6% 0.033 138.4)

Open the analogous palette in the generator

Split complementary

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

  • #40402C

    #40402C

    oklch(36.6% 0.032 107.9)

  • #343F50

    #343F50

    oklch(36.5% 0.033 259)

  • #46394A

    #46394A

    oklch(36.5% 0.033 318.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40402C

    #40402C

    oklch(36.6% 0.032 107.9)

  • #2C424C

    #2C424C

    oklch(36.5% 0.032 228)

  • #4C3842

    #4C3842

    oklch(36.7% 0.032 347.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40402C

    #40402C

    oklch(36.6% 0.032 107.9)

  • #294445

    #294445

    oklch(36.6% 0.033 198.8)

  • #3D3C4F

    #3D3C4F

    oklch(36.5% 0.033 287.1)

  • #4E3838

    #4E3838

    oklch(36.5% 0.032 18.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40402C 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.