#40340E
Closest named color: Dark Olive (#373E02). oklch(33% 0.056 91.2), rgb(64, 52, 14).
Aa
White text reads best on this color (12.24:1).
About this color
#40340E is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.056 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.040 away. White text reads best on it, at 12.24:1.
| Hue family | Browns |
| Lightness | dark (33%) |
| Chroma | muted (0.056) |
| Temperature | warm |
| Nearest name | Dark Olive (#373E02) |
| Black text | 1.71:1 |
| White text | 12.24:1 |
Values
| HEX | #40340E |
| RGB | rgb(64, 52, 14) |
| HSL | hsl(46, 64%, 15%) |
| OKLCH | oklch(33% 0.056 91.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #40340E | 12.24:1 | AAA | Lc -101.3 | Preferred for body text |
| Black text on #40340E | 1.71:1 | Fails | Lc 0.0 | Not readable |
| #40340E text on white | 12.24:1 | AAA | Lc 97.9 | Preferred for body text |
| #40340E text on black | 1.71: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
#F7F5F1
oklch(97.1% 0.006 84.6)
-
Step 100
100
#EDEAE1
oklch(93.7% 0.012 91.5)
-
Step 200
200
#DFD9C8
oklch(88.5% 0.024 90.8)
-
Step 300
300
#CBC0A2
oklch(80.9% 0.042 90.3)
-
Step 400
400
#B0A070
oklch(70.8% 0.068 91.8)
-
Step 500
500
#9D8849
oklch(63.2% 0.086 91.4)
-
Step 600
600
#887129
oklch(55.6% 0.094 91.1)
-
Step 700
700
#735E1C
oklch(49% 0.087 90.7)
-
Step 800
800
#5E4D19
oklch(42.7% 0.073 90.7)
-
Step 900
900 (this color)
#40340E
oklch(33% 0.056 91.2)
-
Step 950
950
#2D2611
oklch(27.1% 0.036 91.5)
#40340E 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) | #3B3309 | 0.012 |
| Deuteranopia (no green cones) | #3D3710 | 0.010 |
| Tritanopia (no blue cones) | #462F2C | 0.052 |
| Achromatopsia (no color) | #353535 | 0.056 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40340E
#40340E
oklch(33% 0.056 91.2)
- #2B3352
#2B3352
oklch(32.9% 0.056 272)
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 #40340E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Olive #373E02 ΔE 0.040
- Pakistan Green #283618 ΔE 0.040
- Onyx #343A40 ΔE 0.071
- Charcoal Grey #3C4142 ΔE 0.073
- Chocolate Brown #411900 ΔE 0.077
- Hunter Green #0B4008 ΔE 0.078
- Forrest Green #154406 ΔE 0.078
- Evergreen #05472A ΔE 0.080
Use #40340E 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.