#7F4E1D
Closest named color: Milk Chocolate (#7F4E1E). oklch(47.1% 0.091 62), rgb(127, 78, 29).
Aa
White text reads best on this color (6.97:1).
About this color
#7F4E1D is a medium-dark, moderately saturated brown. In OKLCH its lightness is 47%, its chroma 0.091 and its hue 62°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.001 away. White text reads best on it, at 6.97:1.
| Hue family | Browns |
| Lightness | medium-dark (47%) |
| Chroma | moderately saturated (0.091) |
| Temperature | warm |
| Nearest name | Milk Chocolate (#7F4E1E) |
| Black text | 3.00:1 |
| White text | 6.97:1 |
Values
| HEX | #7F4E1D |
| RGB | rgb(127, 78, 29) |
| HSL | hsl(30, 63%, 31%) |
| OKLCH | oklch(47.1% 0.091 62) |
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 #7F4E1D | 6.97:1 | AA | Lc -88.9 | Fine for body text |
| Black text on #7F4E1D | 3.00:1 | AA large text | Lc 20.1 | Dividers and decoration only |
| #7F4E1D text on white | 6.97:1 | AA | Lc 83.9 | Fine for body text |
| #7F4E1D text on black | 3.00:1 | AA large text | Lc -18.1 | 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
#F8F5F1
oklch(97.1% 0.006 75.4)
-
Step 100
100
#F0E8E1
oklch(93.5% 0.013 63.9)
-
Step 200
200
#E5D6C9
oklch(88.5% 0.024 63.5)
-
Step 300
300
#D6BBA4
oklch(80.9% 0.044 62.6)
-
Step 400
400
#C19773
oklch(70.7% 0.071 61.9)
-
Step 500
500
#B17D4E
oklch(63.2% 0.09 62.1)
-
Step 600
600
#9C6531
oklch(55.6% 0.098 61.8)
-
Step 700
700 (this color)
#7F4E1D
oklch(47.1% 0.091 62)
-
Step 800
800
#6C451F
oklch(42.7% 0.075 62.6)
-
Step 900
900
#583A1F
oklch(37.7% 0.059 61.5)
-
Step 950
950
#342213
oklch(27% 0.037 60.1)
#7F4E1D 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) | #5D5217 | 0.064 |
| Deuteranopia (no green cones) | #695E1E | 0.057 |
| Tritanopia (no blue cones) | #8B4344 | 0.067 |
| Achromatopsia (no color) | #595959 | 0.091 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F4E1D
#7F4E1D
oklch(47.1% 0.091 62)
- #23608A
#23608A
oklch(47% 0.092 242.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 #7F4E1D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Milk Chocolate #7F4E1E ΔE 0.001
- Medium Brown #7F5112 ΔE 0.013
- Saddle Brown #8B4513 ΔE 0.029
- Warm Brown #964E02 ΔE 0.044
- Mud #735C12 ΔE 0.047
- Cocoa #875F42 ΔE 0.056
- Olive Brown #645403 ΔE 0.058
- Dirt Brown #836539 ΔE 0.062
Use #7F4E1D 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.