#40341C

Closest named color: Pakistan Green (#283618). oklch(33.2% 0.041 83.7), rgb(64, 52, 28).

Aa

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

About this color

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

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

Values

HEX#40341C
RGBrgb(64, 52, 28)
HSLhsl(40, 39%, 18%)
OKLCHoklch(33.2% 0.041 83.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 #40341C 12.16:1 AAA Lc -101.3 Preferred for body text
Black text on #40341C 1.72:1 Fails Lc 0.0 Not readable
#40341C text on white 12.16:1 AAA Lc 97.8 Preferred for body text
#40341C 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

    #DFD8CD

    oklch(88.5% 0.017 79.3)

  4. Step 300

    300

    #CABFAA

    oklch(80.8% 0.031 83.6)

  5. Step 400

    400

    #AF9E7E

    oklch(70.6% 0.049 83.2)

  6. Step 500

    500

    #9C865D

    oklch(63% 0.063 82.6)

  7. Step 600

    600

    #877042

    oklch(55.6% 0.07 83.7)

  8. Step 700

    700

    #725E34

    oklch(49.2% 0.065 84.6)

  9. Step 800

    800

    #5D4D2C

    oklch(42.8% 0.053 84.4)

  10. Step 900

    900 (this color)

    #40341C

    oklch(33.2% 0.041 83.7)

  11. Step 950

    950

    #2D2517

    oklch(26.9% 0.027 81.1)

Export this scale for Tailwind in the Tailwind colors tool

#40341C 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)#39341A0.014
Deuteranopia (no green cones)#3C371D0.011
Tritanopia (no blue cones)#45302E0.037
Achromatopsia (no color)#3636360.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #40341C

    #40341C

    oklch(33.2% 0.041 83.7)

  • #2B364B

    #2B364B

    oklch(33.2% 0.04 263)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40341C

    #40341C

    oklch(33.2% 0.041 83.7)

  • #473021

    #473021

    oklch(33.2% 0.042 53.9)

  • #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°).

  • #40341C

    #40341C

    oklch(33.2% 0.041 83.7)

  • #1F3948

    #1F3948

    oklch(33.1% 0.042 235.3)

  • #373249

    #373249

    oklch(33.2% 0.04 294.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40341C

    #40341C

    oklch(33.2% 0.041 83.7)

  • #183C3F

    #183C3F

    oklch(33.1% 0.041 202.7)

  • #402F42

    #402F42

    oklch(33.2% 0.04 322.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40341C

    #40341C

    oklch(33.2% 0.041 83.7)

  • #1D3D34

    #1D3D34

    oklch(33.2% 0.042 173.3)

  • #2B364B

    #2B364B

    oklch(33.2% 0.04 263)

  • #472D37

    #472D37

    oklch(33.2% 0.041 354.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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