#40291C

Closest named color: Chocolate Brown (#411900). oklch(30.6% 0.041 50.1), rgb(64, 41, 28).

Aa

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

About this color

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

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

Values

HEX#40291C
RGBrgb(64, 41, 28)
HSLhsl(22, 39%, 18%)
OKLCHoklch(30.6% 0.041 50.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 #40291C 13.53:1 AAA Lc -103.1 Preferred for body text
Black text on #40291C 1.55:1 Fails Lc 0.0 Not readable
#40291C text on white 13.53:1 AAA Lc 99.9 Preferred for body text
#40291C 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

    #DBB8A5

    oklch(80.8% 0.048 50.2)

  5. Step 400

    400

    #C99375

    oklch(70.8% 0.078 50.1)

  6. Step 500

    500

    #BA7750

    oklch(63.2% 0.1 50.4)

  7. Step 600

    600

    #A55F34

    oklch(55.7% 0.108 50.5)

  8. Step 700

    700

    #8D4E27

    oklch(49.1% 0.1 50.3)

  9. Step 800

    800

    #734021

    oklch(42.7% 0.084 50.2)

  10. Step 900

    900

    #5D3720

    oklch(37.8% 0.065 50.9)

  11. Step 950

    950 (this color)

    #40291C

    oklch(30.6% 0.041 50.1)

Export this scale for Tailwind in the Tailwind colors tool

#40291C 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)#2F2B1B0.034
Deuteranopia (no green cones)#35301C0.030
Tritanopia (no blue cones)#4625260.027
Achromatopsia (no color)#2E2E2E0.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #40291C

    #40291C

    oklch(30.6% 0.041 50.1)

  • #173340

    #173340

    oklch(30.5% 0.041 230.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40291C

    #40291C

    oklch(30.6% 0.041 50.1)

  • #422726

    #422726

    oklch(30.7% 0.041 22)

  • #3A2D16

    #3A2D16

    oklch(30.6% 0.041 80.5)

Open the analogous palette in the generator

Split complementary

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

  • #40291C

    #40291C

    oklch(30.6% 0.041 50.1)

  • #113537

    #113537

    oklch(30.4% 0.041 200.3)

  • #232F44

    #232F44

    oklch(30.4% 0.042 261.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40291C

    #40291C

    oklch(30.6% 0.041 50.1)

  • #17362C

    #17362C

    oklch(30.6% 0.042 170.2)

  • #2F2C43

    #2F2C43

    oklch(30.7% 0.041 289.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40291C

    #40291C

    oklch(30.6% 0.041 50.1)

  • #243420

    #243420

    oklch(30.4% 0.041 139.5)

  • #173340

    #173340

    oklch(30.5% 0.041 230.2)

  • #38283C

    #38283C

    oklch(30.4% 0.041 319.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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