#40200C
Closest named color: Chocolate Brown (#411900). oklch(28.3% 0.058 50.4), rgb(64, 32, 12).
Aa
White text reads best on this color (14.68:1).
About this color
#40200C is a dark, muted brown. In OKLCH its lightness is 28%, its chroma 0.058 and its hue 50°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.019 away. White text reads best on it, at 14.68:1.
| Hue family | Browns |
| Lightness | dark (28%) |
| Chroma | muted (0.058) |
| Temperature | warm |
| Nearest name | Chocolate Brown (#411900) |
| Black text | 1.42:1 |
| White text | 14.68:1 |
Values
| HEX | #40200C |
| RGB | rgb(64, 32, 12) |
| HSL | hsl(23, 68%, 15%) |
| OKLCH | oklch(28.3% 0.058 50.4) |
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 #40200C | 14.68:1 | AAA | Lc -104.2 | Preferred for body text |
| Black text on #40200C | 1.42:1 | Fails | Lc 0.0 | Not readable |
| #40200C text on white | 14.68:1 | AAA | Lc 101.3 | Preferred for body text |
| #40200C text on black | 1.42: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 950.
-
Step 50
50
#FBF4F0
oklch(97.1% 0.009 52.1)
-
Step 100
100
#F6E6DE
oklch(93.6% 0.021 48.5)
-
Step 200
200
#EFD3C3
oklch(88.6% 0.038 51.7)
-
Step 300
300
#E6B499
oklch(80.8% 0.069 49.7)
-
Step 400
400
#D88C5F
oklch(70.8% 0.111 50.8)
-
Step 500
500
#CB6C2E
oklch(63.1% 0.141 50.3)
-
Step 600
600
#B45400
oklch(55.7% 0.146 50.5)
-
Step 700
700
#984600
oklch(49.2% 0.129 50.6)
-
Step 800
800
#7D3800
oklch(42.6% 0.112 50.3)
-
Step 900
900
#673009
oklch(37.7% 0.092 50.1)
-
Step 950
950 (this color)
#40200C
oklch(28.3% 0.058 50.4)
#40200C 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) | #29240A | 0.050 |
| Deuteranopia (no green cones) | #312B0C | 0.044 |
| Tritanopia (no blue cones) | #47191C | 0.037 |
| Achromatopsia (no color) | #282828 | 0.059 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40200C
#40200C
oklch(28.3% 0.058 50.4)
- #002E40
#002E40
oklch(28.2% 0.057 230.6)
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 #40200C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chocolate Brown #411900 ΔE 0.019
- Dark Brown #341C02 ΔE 0.033
- Mahogany #4A0100 ΔE 0.060
- Deep Brown #410200 ΔE 0.063
- Jet #212529 ΔE 0.071
- Dark Maroon #3C0008 ΔE 0.076
- Pakistan Green #283618 ΔE 0.077
- Dark #1B2431 ΔE 0.088
Use #40200C 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.