#40351D
Closest named color: Pakistan Green (#283618). oklch(33.4% 0.041 85.6), rgb(64, 53, 29).
Aa
White text reads best on this color (12.03:1).
About this color
#40351D is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.041 and its hue 86°. 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.03:1.
| Hue family | Browns |
| Lightness | dark (33%) |
| Chroma | muted (0.041) |
| Temperature | warm |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.74:1 |
| White text | 12.03:1 |
Values
| HEX | #40351D |
| RGB | rgb(64, 53, 29) |
| HSL | hsl(41, 38%, 18%) |
| OKLCH | oklch(33.4% 0.041 85.6) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #40351D | 12.03:1 | AAA | Lc -101.0 | Preferred for body text |
| Black text on #40351D | 1.74:1 | Fails | Lc 0.0 | Not readable |
| #40351D text on white | 12.03:1 | AAA | Lc 97.5 | Preferred for body text |
| #40351D text on black | 1.74: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.
-
Step 50
50
#F7F5F2
oklch(97.1% 0.005 78.3)
-
Step 100
100
#ECE9E3
oklch(93.5% 0.009 84.6)
-
Step 200
200
#DED9CD
oklch(88.6% 0.017 88)
-
Step 300
300
#CAC0AB
oklch(81% 0.031 85.6)
-
Step 400
400
#AE9F7E
oklch(70.7% 0.049 86.4)
-
Step 500
500
#9B875D
oklch(63.1% 0.063 85.2)
-
Step 600
600
#857143
oklch(55.7% 0.068 86.7)
-
Step 700
700
#715E35
oklch(49.1% 0.063 85.3)
-
Step 800
800
#5C4D2C
oklch(42.7% 0.053 85.8)
-
Step 900
900 (this color)
#40351D
oklch(33.4% 0.041 85.6)
-
Step 950
950
#2C2618
oklch(27.1% 0.026 87.4)
#40351D 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #3A351B | 0.012 |
| Deuteranopia (no green cones) | #3D381E | 0.010 |
| Tritanopia (no blue cones) | #45312F | 0.037 |
| Achromatopsia (no color) | #363636 | 0.041 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40351D
#40351D
oklch(33.4% 0.041 85.6)
- #2C364C
#2C364C
oklch(33.4% 0.041 265.4)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #40351D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.043
- Dark Olive #373E02 ΔE 0.049
- Onyx #343A40 ΔE 0.055
- Charcoal Grey #3C4142 ΔE 0.058
- Gunmetal #293241 ΔE 0.073
- Chocolate Brown #411900 ΔE 0.079
- Evergreen #05472A ΔE 0.079
- Space Cadet #2B2D42 ΔE 0.084
Use #40351D 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.