#7F4F2F
Closest named color: Milk Chocolate (#7F4E1E). oklch(47.5% 0.079 53.3), rgb(127, 79, 47).
Aa
White text reads best on this color (6.85:1).
About this color
#7F4F2F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 48%, its chroma 0.079 and its hue 53°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.017 away. White text reads best on it, at 6.85:1.
| Hue family | Browns |
| Lightness | medium-dark (48%) |
| Chroma | moderately saturated (0.079) |
| Temperature | warm |
| Nearest name | Milk Chocolate (#7F4E1E) |
| Black text | 3.06:1 |
| White text | 6.85:1 |
Values
| HEX | #7F4F2F |
| RGB | rgb(127, 79, 47) |
| HSL | hsl(24, 46%, 34%) |
| OKLCH | oklch(47.5% 0.079 53.3) |
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 #7F4F2F | 6.85:1 | AA | Lc -88.5 | Fine for body text |
| Black text on #7F4F2F | 3.06:1 | AA large text | Lc 20.5 | Dividers and decoration only |
| #7F4F2F text on white | 6.85:1 | AA | Lc 83.5 | Fine for body text |
| #7F4F2F text on black | 3.06:1 | AA large text | Lc -18.5 | 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
#F8F5F2
oklch(97.2% 0.005 67.8)
-
Step 100
100
#F0E8E3
oklch(93.6% 0.011 54.5)
-
Step 200
200
#E5D6CC
oklch(88.5% 0.022 56.1)
-
Step 300
300
#D5BAAA
oklch(80.8% 0.038 52.6)
-
Step 400
400
#C0977D
oklch(70.8% 0.061 53.9)
-
Step 500
500
#AF7C5C
oklch(63% 0.078 52.9)
-
Step 600
600
#9A6542
oklch(55.6% 0.085 53.6)
-
Step 700
700 (this color)
#7F4F2F
oklch(47.5% 0.079 53.3)
-
Step 800
800
#6B452B
oklch(42.8% 0.065 54.4)
-
Step 900
900
#573A27
oklch(37.7% 0.051 53.8)
-
Step 950
950
#332217
oklch(27% 0.033 53.8)
#7F4F2F 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) | #5D542C | 0.063 |
| Deuteranopia (no green cones) | #685F2F | 0.059 |
| Tritanopia (no blue cones) | #8A4547 | 0.053 |
| Achromatopsia (no color) | #5A5A5A | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F4F2F
#7F4F2F
oklch(47.5% 0.079 53.3)
- #256382
#256382
oklch(47.4% 0.08 233.9)
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 #7F4F2F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Milk Chocolate #7F4E1E ΔE 0.017
- Medium Brown #7F5112 ΔE 0.029
- Saddle Brown #8B4513 ΔE 0.033
- Cocoa #875F42 ΔE 0.047
- Warm Brown #964E02 ΔE 0.050
- Mud #735C12 ΔE 0.056
- Dirt Brown #836539 ΔE 0.060
- Burnt Umber #A0450E ΔE 0.064
Use #7F4F2F 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.