#403E2B
Closest named color: Charcoal Grey (#3C4142). oklch(36% 0.031 102.8), rgb(64, 62, 43).
Aa
White text reads best on this color (10.81:1).
About this color
#403E2B is a dark, muted brown. In OKLCH its lightness is 36%, its chroma 0.031 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.035 away. White text reads best on it, at 10.81:1.
| Hue family | Browns |
| Lightness | dark (36%) |
| Chroma | muted (0.031) |
| Temperature | warm |
| Nearest name | Charcoal Grey (#3C4142) |
| Black text | 1.94:1 |
| White text | 10.81:1 |
Values
| HEX | #403E2B |
| RGB | rgb(64, 62, 43) |
| HSL | hsl(54, 20%, 21%) |
| OKLCH | oklch(36% 0.031 102.8) |
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 #403E2B | 10.81:1 | AAA | Lc -99.0 | Preferred for body text |
| Black text on #403E2B | 1.94:1 | Fails | Lc 8.8 | Not readable |
| #403E2B text on white | 10.81:1 | AAA | Lc 95.1 | Preferred for body text |
| #403E2B text on black | 1.94:1 | Fails | Lc -7.6 | 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
#F6F5F3
oklch(97% 0.003 84.6)
-
Step 100
100
#EAEAE5
oklch(93.6% 0.007 106.5)
-
Step 200
200
#DADAD0
oklch(88.6% 0.013 106.7)
-
Step 300
300
#C3C1B1
oklch(80.8% 0.022 101.1)
-
Step 400
400
#A4A288
oklch(70.7% 0.037 103.7)
-
Step 500
500
#8E8B6A
oklch(63.1% 0.047 103.3)
-
Step 600
600
#797551
oklch(55.7% 0.052 102.6)
-
Step 700
700
#666242
oklch(49.1% 0.048 101.9)
-
Step 800
800
#535036
oklch(42.7% 0.04 102.4)
-
Step 900
900 (this color)
#403E2B
oklch(36% 0.031 102.8)
-
Step 950
950
#28271C
oklch(27% 0.019 103.3)
#403E2B 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) | #413D2A | 0.003 |
| Deuteranopia (no green cones) | #423E2C | 0.004 |
| Tritanopia (no blue cones) | #433B39 | 0.029 |
| Achromatopsia (no color) | #3D3D3D | 0.031 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #403E2B
#403E2B
oklch(36% 0.031 102.8)
- #3A3B4D
#3A3B4D
oklch(35.9% 0.031 282.2)
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 #403E2B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Charcoal Grey #3C4142 ΔE 0.035
- Onyx #343A40 ΔE 0.045
- Dark Olive #373E02 ΔE 0.051
- Pakistan Green #283618 ΔE 0.056
- Dark Slate Gray #2F4F4F ΔE 0.066
- Evergreen #05472A ΔE 0.067
- Charcoal #264653 ΔE 0.068
- Mud Brown #60460F ΔE 0.072
Use #403E2B 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.