#40341D

Closest named color: Pakistan Green (#283618). oklch(33.2% 0.04 82.8), rgb(64, 52, 29).

Aa

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

About this color

#40341D is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.040 and its hue 83°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.044 away. White text reads best on it, at 12.16:1.

Hue familyBrowns
Lightnessdark (33%)
Chromamuted (0.040)
Temperaturewarm
Nearest namePakistan Green (#283618)
Black text1.72:1
White text12.16:1

Values

HEX#40341D
RGBrgb(64, 52, 29)
HSLhsl(39, 38%, 18%)
OKLCHoklch(33.2% 0.04 82.8)

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 #40341D 12.16:1 AAA Lc -101.2 Preferred for body text
Black text on #40341D 1.72:1 Fails Lc 0.0 Not readable
#40341D text on white 12.16:1 AAA Lc 97.7 Preferred for body text
#40341D text on black 1.72: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 900.

  1. Step 50

    50

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EDE9E3

    oklch(93.5% 0.009 78.3)

  3. Step 200

    200

    #DED8CD

    oklch(88.4% 0.016 82.8)

  4. Step 300

    300

    #CABFAB

    oklch(80.8% 0.03 82.6)

  5. Step 400

    400

    #AF9E7F

    oklch(70.6% 0.047 82.5)

  6. Step 500

    500

    #9C865E

    oklch(63% 0.062 82.1)

  7. Step 600

    600

    #877044

    oklch(55.7% 0.068 82.8)

  8. Step 700

    700

    #725D36

    oklch(49% 0.062 81.9)

  9. Step 800

    800

    #5D4C2D

    oklch(42.6% 0.051 81.7)

  10. Step 900

    900 (this color)

    #40341D

    oklch(33.2% 0.04 82.8)

  11. Step 950

    950

    #2D2518

    oklch(27% 0.025 79.4)

Export this scale for Tailwind in the Tailwind colors tool

#40341D 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)#39341B0.014
Deuteranopia (no green cones)#3C371E0.011
Tritanopia (no blue cones)#45302E0.035
Achromatopsia (no color)#3636360.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #40341D

    #40341D

    oklch(33.2% 0.04 82.8)

  • #2B364B

    #2B364B

    oklch(33.2% 0.04 263)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40341D

    #40341D

    oklch(33.2% 0.04 82.8)

  • #463022

    #463022

    oklch(33.1% 0.04 53.4)

  • #36381F

    #36381F

    oklch(33.2% 0.041 112.3)

Open the analogous palette in the generator

Split complementary

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

  • #40341D

    #40341D

    oklch(33.2% 0.04 82.8)

  • #1F3A47

    #1F3A47

    oklch(33.3% 0.04 230.5)

  • #363249

    #363249

    oklch(33.1% 0.04 292)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40341D

    #40341D

    oklch(33.2% 0.04 82.8)

  • #193C3F

    #193C3F

    oklch(33.2% 0.041 202.9)

  • #402F42

    #402F42

    oklch(33.2% 0.04 322.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40341D

    #40341D

    oklch(33.2% 0.04 82.8)

  • #1E3D34

    #1E3D34

    oklch(33.3% 0.041 172.9)

  • #2B364B

    #2B364B

    oklch(33.2% 0.04 263)

  • #462D38

    #462D38

    oklch(33.1% 0.041 351.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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