#40341A

Closest named color: Pakistan Green (#283618). oklch(33.1% 0.044 85.2), rgb(64, 52, 26).

Aa

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

About this color

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

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

Values

HEX#40341A
RGBrgb(64, 52, 26)
HSLhsl(41, 42%, 18%)
OKLCHoklch(33.1% 0.044 85.2)

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

    #CABFA9

    oklch(80.8% 0.033 84.6)

  5. Step 400

    400

    #B09F7B

    oklch(70.8% 0.053 85.6)

  6. Step 500

    500

    #9C875A

    oklch(63.2% 0.067 85.5)

  7. Step 600

    600

    #87703F

    oklch(55.6% 0.073 84.9)

  8. Step 700

    700

    #725E31

    oklch(49.1% 0.068 85.9)

  9. Step 800

    800

    #5D4D29

    oklch(42.8% 0.057 86)

  10. Step 900

    900 (this color)

    #40341A

    oklch(33.1% 0.044 85.2)

  11. Step 950

    950

    #2D2516

    oklch(26.9% 0.028 82.6)

Export this scale for Tailwind in the Tailwind colors tool

#40341A 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)#3A34180.012
Deuteranopia (no green cones)#3D371B0.010
Tritanopia (no blue cones)#45302E0.039
Achromatopsia (no color)#3535350.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #40341A

    #40341A

    oklch(33.1% 0.044 85.2)

  • #2B354D

    #2B354D

    oklch(33.1% 0.045 266.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40341A

    #40341A

    oklch(33.1% 0.044 85.2)

  • #47301F

    #47301F

    oklch(33.2% 0.044 57)

  • #35381D

    #35381D

    oklch(33% 0.044 114)

Open the analogous palette in the generator

Split complementary

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

  • #40341A

    #40341A

    oklch(33.1% 0.044 85.2)

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

  • #40341A

    #40341A

    oklch(33.1% 0.044 85.2)

  • #153C40

    #153C40

    oklch(33% 0.044 204.5)

  • #412E42

    #412E42

    oklch(33.1% 0.043 324.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40341A

    #40341A

    oklch(33.1% 0.044 85.2)

  • #1A3D34

    #1A3D34

    oklch(33.1% 0.044 174.5)

  • #2B354D

    #2B354D

    oklch(33.1% 0.045 266.6)

  • #482C37

    #482C37

    oklch(33.1% 0.045 354.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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