#40351F
Closest named color: Pakistan Green (#283618). oklch(33.5% 0.038 83.9), rgb(64, 53, 31).
Aa
White text reads best on this color (12.02:1).
About this color
#40351F is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.038 and its hue 84°. 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.02:1.
| Hue family | Browns |
| Lightness | dark (33%) |
| Chroma | muted (0.038) |
| Temperature | warm |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.74:1 |
| White text | 12.02:1 |
Values
| HEX | #40351F |
| RGB | rgb(64, 53, 31) |
| HSL | hsl(40, 35%, 19%) |
| OKLCH | oklch(33.5% 0.038 83.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #40351F | 12.02:1 | AAA | Lc -101.0 | Preferred for body text |
| Black text on #40351F | 1.74:1 | Fails | Lc 0.0 | Not readable |
| #40351F text on white | 12.02:1 | AAA | Lc 97.5 | Preferred for body text |
| #40351F 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
#F7F5F3
oklch(97.1% 0.003 67.8)
-
Step 100
100
#ECE9E4
oklch(93.5% 0.007 80.7)
-
Step 200
200
#DED8CE
oklch(88.4% 0.015 80.7)
-
Step 300
300
#C9BFAC
oklch(80.8% 0.028 83.5)
-
Step 400
400
#AE9F80
oklch(70.7% 0.046 85.2)
-
Step 500
500
#9A8760
oklch(63.1% 0.059 84.8)
-
Step 600
600
#857047
oklch(55.5% 0.063 83.4)
-
Step 700
700
#715E38
oklch(49.1% 0.06 83.8)
-
Step 800
800
#5C4D2F
oklch(42.8% 0.049 83.9)
-
Step 900
900 (this color)
#40351F
oklch(33.5% 0.038 83.9)
-
Step 950
950
#2C2619
oklch(27.1% 0.024 86)
#40351F 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) | #3A351D | 0.012 |
| Deuteranopia (no green cones) | #3D3820 | 0.010 |
| Tritanopia (no blue cones) | #453130 | 0.036 |
| Achromatopsia (no color) | #363636 | 0.038 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40351F
#40351F
oklch(33.5% 0.038 83.9)
- #2C374B
#2C374B
oklch(33.6% 0.038 262.1)
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 #40351F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.044
- Dark Olive #373E02 ΔE 0.051
- Onyx #343A40 ΔE 0.052
- Charcoal Grey #3C4142 ΔE 0.056
- Gunmetal #293241 ΔE 0.071
- Chocolate Brown #411900 ΔE 0.080
- Evergreen #05472A ΔE 0.080
- Space Cadet #2B2D42 ΔE 0.081
Use #40351F 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.