#40291D

Closest named color: Chocolate Brown (#411900). oklch(30.6% 0.04 48.3), rgb(64, 41, 29).

Aa

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

About this color

#40291D is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.040 and its hue 48°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.048 away. White text reads best on it, at 13.52:1.

Hue familyBrowns
Lightnessdark (31%)
Chromamuted (0.040)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.55:1
White text13.52:1

Values

HEX#40291D
RGBrgb(64, 41, 29)
HSLhsl(21, 38%, 18%)
OKLCHoklch(30.6% 0.04 48.3)

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 #40291D 13.52:1 AAA Lc -103.1 Preferred for body text
Black text on #40291D 1.55:1 Fails Lc 0.0 Not readable
#40291D text on white 13.52:1 AAA Lc 99.9 Preferred for body text
#40291D text on black 1.55: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

    #F9F4F2

    oklch(97% 0.006 43.3)

  2. Step 100

    100

    #F2E7E2

    oklch(93.5% 0.014 46.2)

  3. Step 200

    200

    #E9D4CA

    oklch(88.4% 0.027 47.2)

  4. Step 300

    300

    #DBB8A6

    oklch(80.8% 0.048 48.8)

  5. Step 400

    400

    #C89377

    oklch(70.7% 0.075 48.9)

  6. Step 500

    500

    #B97753

    oklch(63.1% 0.097 49)

  7. Step 600

    600

    #A55E38

    oklch(55.6% 0.106 47.7)

  8. Step 700

    700

    #8D4E2A

    oklch(49.2% 0.098 48.8)

  9. Step 800

    800

    #734024

    oklch(42.8% 0.082 48.2)

  10. Step 900

    900

    #5D3722

    oklch(37.8% 0.064 48.9)

  11. Step 950

    950 (this color)

    #40291D

    oklch(30.6% 0.04 48.3)

Export this scale for Tailwind in the Tailwind colors tool

#40291D 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)#2F2B1C0.034
Deuteranopia (no green cones)#35301D0.030
Tritanopia (no blue cones)#4625260.025
Achromatopsia (no color)#2E2E2E0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #40291D

    #40291D

    oklch(30.6% 0.04 48.3)

  • #17333F

    #17333F

    oklch(30.5% 0.04 228.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40291D

    #40291D

    oklch(30.6% 0.04 48.3)

  • #412727

    #412727

    oklch(30.5% 0.039 19.6)

  • #3A2D17

    #3A2D17

    oklch(30.6% 0.04 79.6)

Open the analogous palette in the generator

Split complementary

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

  • #40291D

    #40291D

    oklch(30.6% 0.04 48.3)

  • #123537

    #123537

    oklch(30.5% 0.04 200.4)

  • #233044

    #233044

    oklch(30.7% 0.04 258.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40291D

    #40291D

    oklch(30.6% 0.04 48.3)

  • #19362B

    #19362B

    oklch(30.6% 0.041 167)

  • #2E2C43

    #2E2C43

    oklch(30.6% 0.041 287.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40291D

    #40291D

    oklch(30.6% 0.04 48.3)

  • #253420

    #253420

    oklch(30.5% 0.04 138.1)

  • #17333F

    #17333F

    oklch(30.5% 0.04 228.1)

  • #38293C

    #38293C

    oklch(30.6% 0.039 319.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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