#804D16
Closest named color: Milk Chocolate (#7F4E1E). oklch(47% 0.096 62.7), rgb(128, 77, 22).
Aa
White text reads best on this color (7.02:1).
About this color
#804D16 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 47%, its chroma 0.096 and its hue 63°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.006 away. White text reads best on it, at 7.02:1.
| Hue family | Browns |
| Lightness | medium-dark (47%) |
| Chroma | moderately saturated (0.096) |
| Temperature | warm |
| Nearest name | Milk Chocolate (#7F4E1E) |
| Black text | 2.99:1 |
| White text | 7.02:1 |
Values
| HEX | #804D16 |
| RGB | rgb(128, 77, 22) |
| HSL | hsl(31, 71%, 29%) |
| OKLCH | oklch(47% 0.096 62.7) |
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 #804D16 | 7.02:1 | AAA | Lc -89.0 | Fine for body text |
| Black text on #804D16 | 2.99:1 | Fails | Lc 20.0 | Dividers and decoration only |
| #804D16 text on white | 7.02:1 | AAA | Lc 84.0 | Fine for body text |
| #804D16 text on black | 2.99:1 | Fails | Lc -17.9 | Dividers and decoration only |
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 700.
-
Step 50
50
#F9F5F1
oklch(97.2% 0.007 67.7)
-
Step 100
100
#F1E8E1
oklch(93.6% 0.014 60.6)
-
Step 200
200
#E6D6C8
oklch(88.5% 0.026 63.7)
-
Step 300
300
#D7BBA2
oklch(81% 0.047 63.9)
-
Step 400
400
#C29770
oklch(70.7% 0.074 63.4)
-
Step 500
500
#B27C4A
oklch(63% 0.094 62.5)
-
Step 600
600
#9D642B
oklch(55.5% 0.103 62.6)
-
Step 700
700 (this color)
#804D16
oklch(47% 0.096 62.7)
-
Step 800
800
#6D441B
oklch(42.6% 0.079 62.6)
-
Step 900
900
#593A1C
oklch(37.8% 0.062 63)
-
Step 950
950
#342211
oklch(27% 0.039 63.2)
#804D16 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) | #5D520D | 0.067 |
| Deuteranopia (no green cones) | #695E17 | 0.060 |
| Tritanopia (no blue cones) | #8C4142 | 0.071 |
| Achromatopsia (no color) | #595959 | 0.096 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #804D16
#804D16
oklch(47% 0.096 62.7)
- #1F608C
#1F608C
oklch(47% 0.096 242.8)
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 #804D16, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Milk Chocolate #7F4E1E ΔE 0.006
- Medium Brown #7F5112 ΔE 0.012
- Saddle Brown #8B4513 ΔE 0.027
- Warm Brown #964E02 ΔE 0.043
- Mud #735C12 ΔE 0.047
- Olive Brown #645403 ΔE 0.058
- Cocoa #875F42 ΔE 0.059
- Burnt Umber #A0450E ΔE 0.062
Use #804D16 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.