#804D1F
Closest named color: Milk Chocolate (#7F4E1E). oklch(47.1% 0.091 59.4), rgb(128, 77, 31).
Aa
White text reads best on this color (7.00:1).
About this color
#804D1F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 47%, its chroma 0.091 and its hue 59°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.004 away. White text reads best on it, at 7.00:1.
| Hue family | Browns |
| Lightness | medium-dark (47%) |
| Chroma | moderately saturated (0.091) |
| Temperature | warm |
| Nearest name | Milk Chocolate (#7F4E1E) |
| Black text | 2.99:1 |
| White text | 7.00:1 |
Values
| HEX | #804D1F |
| RGB | rgb(128, 77, 31) |
| HSL | hsl(28, 61%, 31%) |
| OKLCH | oklch(47.1% 0.091 59.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 #804D1F | 7.00:1 | AAA | Lc -89.0 | Fine for body text |
| Black text on #804D1F | 2.99:1 | Fails | Lc 20.0 | Dividers and decoration only |
| #804D1F text on white | 7.00:1 | AAA | Lc 84.0 | Fine for body text |
| #804D1F text on black | 2.99:1 | Fails | Lc -18.0 | 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
#F9F5F2
oklch(97.2% 0.006 59.7)
-
Step 100
100
#F1E8E2
oklch(93.6% 0.013 56.2)
-
Step 200
200
#E6D6C9
oklch(88.6% 0.025 61.6)
-
Step 300
300
#D7BAA5
oklch(80.8% 0.044 58)
-
Step 400
400
#C29674
oklch(70.6% 0.071 59)
-
Step 500
500
#B27C50
oklch(63.1% 0.09 59.3)
-
Step 600
600
#9D6433
oklch(55.6% 0.098 59.3)
-
Step 700
700 (this color)
#804D1F
oklch(47.1% 0.091 59.4)
-
Step 800
800
#6D4420
oklch(42.7% 0.076 59.8)
-
Step 900
900
#593A20
oklch(37.8% 0.059 59.6)
-
Step 950
950
#342213
oklch(27% 0.037 60.1)
#804D1F 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) | #5C5219 | 0.068 |
| Deuteranopia (no green cones) | #695E1F | 0.061 |
| Tritanopia (no blue cones) | #8C4243 | 0.064 |
| Achromatopsia (no color) | #595959 | 0.092 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #804D1F
#804D1F
oklch(47.1% 0.091 59.4)
- #1E6189
#1E6189
oklch(47.1% 0.092 239.7)
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 #804D1F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Milk Chocolate #7F4E1E ΔE 0.004
- Medium Brown #7F5112 ΔE 0.017
- Saddle Brown #8B4513 ΔE 0.026
- Warm Brown #964E02 ΔE 0.044
- Mud #735C12 ΔE 0.051
- Cocoa #875F42 ΔE 0.056
- Burnt Umber #A0450E ΔE 0.061
- Olive Brown #645403 ΔE 0.061
Use #804D1F 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.