#40341E

Closest named color: Pakistan Green (#283618). oklch(33.2% 0.039 81.9), rgb(64, 52, 30).

Aa

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

About this color

#40341E is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.039 and its hue 82°. 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.15:1.

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

Values

HEX#40341E
RGBrgb(64, 52, 30)
HSLhsl(39, 36%, 18%)
OKLCHoklch(33.2% 0.039 81.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 #40341E 12.15:1 AAA Lc -101.2 Preferred for body text
Black text on #40341E 1.72:1 Fails Lc 0.0 Not readable
#40341E text on white 12.15:1 AAA Lc 97.7 Preferred for body text
#40341E 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

    #EDE9E4

    oklch(93.6% 0.008 73.7)

  3. Step 200

    200

    #DED8CD

    oklch(88.4% 0.016 82.8)

  4. Step 300

    300

    #CABFAC

    oklch(80.9% 0.029 81.5)

  5. Step 400

    400

    #AF9E80

    oklch(70.6% 0.046 81.8)

  6. Step 500

    500

    #9C8660

    oklch(63.1% 0.059 80.9)

  7. Step 600

    600

    #867046

    oklch(55.6% 0.065 82.8)

  8. Step 700

    700

    #725D38

    oklch(49% 0.06 80.8)

  9. Step 800

    800

    #5D4C2E

    oklch(42.6% 0.05 80.9)

  10. Step 900

    900 (this color)

    #40341E

    oklch(33.2% 0.039 81.9)

  11. Step 950

    950

    #2D2518

    oklch(27% 0.025 79.4)

Export this scale for Tailwind in the Tailwind colors tool

#40341E 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)#39341C0.014
Deuteranopia (no green cones)#3C371F0.011
Tritanopia (no blue cones)#45302F0.036
Achromatopsia (no color)#3636360.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #40341E

    #40341E

    oklch(33.2% 0.039 81.9)

  • #2B364A

    #2B364A

    oklch(33.2% 0.039 262.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40341E

    #40341E

    oklch(33.2% 0.039 81.9)

  • #463023

    #463023

    oklch(33.1% 0.039 51.5)

  • #363820

    #363820

    oklch(33.2% 0.039 112.4)

Open the analogous palette in the generator

Split complementary

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

  • #40341E

    #40341E

    oklch(33.2% 0.039 81.9)

  • #203A47

    #203A47

    oklch(33.3% 0.039 231.3)

  • #363249

    #363249

    oklch(33.1% 0.04 292)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40341E

    #40341E

    oklch(33.2% 0.039 81.9)

  • #1B3C3E

    #1B3C3E

    oklch(33.2% 0.039 200.7)

  • #3F2F42

    #3F2F42

    oklch(33.1% 0.039 321)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40341E

    #40341E

    oklch(33.2% 0.039 81.9)

  • #1F3D34

    #1F3D34

    oklch(33.3% 0.04 172.4)

  • #2B364A

    #2B364A

    oklch(33.2% 0.039 262.1)

  • #462E38

    #462E38

    oklch(33.3% 0.038 352.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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