#40341B

Closest named color: Pakistan Green (#283618). oklch(33.2% 0.043 84.5), rgb(64, 52, 27).

Aa

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

About this color

#40341B is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.043 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.17:1.

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

Values

HEX#40341B
RGBrgb(64, 52, 27)
HSLhsl(41, 41%, 18%)
OKLCHoklch(33.2% 0.043 84.5)

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 #40341B 12.17:1 AAA Lc -101.3 Preferred for body text
Black text on #40341B 1.72:1 Fails Lc 0.0 Not readable
#40341B text on white 12.17:1 AAA Lc 97.8 Preferred for body text
#40341B 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

    #DFD8CC

    oklch(88.4% 0.018 81.3)

  4. Step 300

    300

    #CABFAA

    oklch(80.8% 0.031 83.6)

  5. Step 400

    400

    #B09F7C

    oklch(70.8% 0.052 85)

  6. Step 500

    500

    #9C875B

    oklch(63.2% 0.066 85.1)

  7. Step 600

    600

    #877041

    oklch(55.6% 0.071 84.1)

  8. Step 700

    700

    #725E32

    oklch(49.1% 0.067 85.5)

  9. Step 800

    800

    #5D4D2A

    oklch(42.8% 0.055 85.5)

  10. Step 900

    900 (this color)

    #40341B

    oklch(33.2% 0.043 84.5)

  11. Step 950

    950

    #2D2517

    oklch(26.9% 0.027 81.1)

Export this scale for Tailwind in the Tailwind colors tool

#40341B 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)#3A34190.012
Deuteranopia (no green cones)#3C371C0.011
Tritanopia (no blue cones)#45302E0.038
Achromatopsia (no color)#3636360.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #40341B

    #40341B

    oklch(33.2% 0.043 84.5)

  • #2B354C

    #2B354C

    oklch(33% 0.043 266)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40341B

    #40341B

    oklch(33.2% 0.043 84.5)

  • #473020

    #473020

    oklch(33.2% 0.043 55.5)

  • #35381E

    #35381E

    oklch(33% 0.042 114.1)

Open the analogous palette in the generator

Split complementary

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

  • #40341B

    #40341B

    oklch(33.2% 0.043 84.5)

  • #1E3949

    #1E3949

    oklch(33.1% 0.044 236.2)

  • #37314A

    #37314A

    oklch(33.1% 0.044 294.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40341B

    #40341B

    oklch(33.2% 0.043 84.5)

  • #173C40

    #173C40

    oklch(33.1% 0.042 204.9)

  • #412E42

    #412E42

    oklch(33.1% 0.043 324.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40341B

    #40341B

    oklch(33.2% 0.043 84.5)

  • #1B3D34

    #1B3D34

    oklch(33.1% 0.043 174.1)

  • #2B354C

    #2B354C

    oklch(33% 0.043 266)

  • #472C37

    #472C37

    oklch(33% 0.043 353.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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