#40472D

Closest named color: Charcoal Grey (#3C4142). oklch(38.4% 0.043 120.7), rgb(64, 71, 45).

Aa

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

About this color

#40472D is a dark, muted brown. In OKLCH its lightness is 38%, its chroma 0.043 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.045 away. White text reads best on it, at 9.73:1.

Hue familyBrowns
Lightnessdark (38%)
Chromamuted (0.043)
Temperaturein between
Nearest nameCharcoal Grey (#3C4142)
Black text2.15:1
White text9.73:1

Values

HEX#40472D
RGBrgb(64, 71, 45)
HSLhsl(76, 22%, 23%)
OKLCHoklch(38.4% 0.043 120.7)

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 #40472D 9.73:1 AAA Lc -96.8 Preferred for body text
Black text on #40472D 2.15:1 Fails Lc 11.4 Not readable
#40472D text on white 9.73:1 AAA Lc 92.6 Preferred for body text
#40472D text on black 2.15:1 Fails Lc -9.9 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

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D7DBCE

    oklch(88.5% 0.018 120.7)

  4. Step 300

    300

    #BDC4AD

    oklch(80.9% 0.032 120.9)

  5. Step 400

    400

    #9CA682

    oklch(70.7% 0.052 120.3)

  6. Step 500

    500

    #849063

    oklch(63.2% 0.065 120.4)

  7. Step 600

    600

    #6D7A4A

    oklch(55.6% 0.071 121.1)

  8. Step 700

    700

    #5B663B

    oklch(49% 0.065 120.6)

  9. Step 800

    800

    #4B5431

    oklch(42.8% 0.055 120.5)

  10. Step 900

    900 (this color)

    #40472D

    oklch(38.4% 0.043 120.7)

  11. Step 950

    950

    #24291A

    oklch(27.1% 0.027 123.2)

Export this scale for Tailwind in the Tailwind colors tool

#40472D 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)#4A442B0.018
Deuteranopia (no green cones)#49442E0.018
Tritanopia (no blue cones)#4244400.036
Achromatopsia (no color)#4444440.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #40472D

    #40472D

    oklch(38.4% 0.043 120.7)

  • #473E57

    #473E57

    oklch(38.3% 0.043 300.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40472D

    #40472D

    oklch(38.4% 0.043 120.7)

  • #4C4328

    #4C4328

    oklch(38.5% 0.043 91.7)

  • #334A38

    #334A38

    oklch(38.4% 0.042 150.8)

Open the analogous palette in the generator

Split complementary

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

  • #40472D

    #40472D

    oklch(38.4% 0.043 120.7)

  • #3B425B

    #3B425B

    oklch(38.4% 0.044 272.1)

  • #513B4E

    #513B4E

    oklch(38.4% 0.043 331.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40472D

    #40472D

    oklch(38.4% 0.043 120.7)

  • #2E4758

    #2E4758

    oklch(38.5% 0.042 239)

  • #573A42

    #573A42

    oklch(38.5% 0.043 1.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40472D

    #40472D

    oklch(38.4% 0.043 120.7)

  • #264A50

    #264A50

    oklch(38.5% 0.043 209.4)

  • #473E57

    #473E57

    oklch(38.3% 0.043 300.9)

  • #583B36

    #583B36

    oklch(38.4% 0.042 30)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40472D 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.