#7F542E
Closest named color: Milk Chocolate (#7F4E1E). oklch(48.5% 0.078 60.8), rgb(127, 84, 46).
Aa
White text reads best on this color (6.54:1).
About this color
#7F542E is a medium-dark, moderately saturated brown. In OKLCH its lightness is 48%, its chroma 0.078 and its hue 61°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.019 away. White text reads best on it, at 6.54:1.
| Hue family | Browns |
| Lightness | medium-dark (48%) |
| Chroma | moderately saturated (0.078) |
| Temperature | warm |
| Nearest name | Milk Chocolate (#7F4E1E) |
| Black text | 3.20:1 |
| White text | 6.54:1 |
Values
| HEX | #7F542E |
| RGB | rgb(127, 84, 46) |
| HSL | hsl(28, 47%, 34%) |
| OKLCH | oklch(48.5% 0.078 60.8) |
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 #7F542E | 6.54:1 | AA | Lc -87.3 | Fine for body text |
| Black text on #7F542E | 3.20:1 | AA large text | Lc 21.8 | Dividers and decoration only |
| #7F542E text on white | 6.54:1 | AA | Lc 82.2 | Fine for body text |
| #7F542E text on black | 3.20:1 | AA large text | Lc -19.7 | 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
#E4D6CC
oklch(88.5% 0.021 58)
-
Step 300
300
#D3BCA9
oklch(81% 0.037 61.8)
-
Step 400
400
#BD987A
oklch(70.6% 0.061 60.6)
-
Step 500
500
#AC7F58
oklch(63.2% 0.078 61.6)
-
Step 600
600
#97673E
oklch(55.5% 0.084 60.3)
-
Step 700
700 (this color)
#7F542E
oklch(48.5% 0.078 60.8)
-
Step 800
800
#694628
oklch(42.7% 0.065 60.3)
-
Step 900
900
#553B25
oklch(37.6% 0.05 60.6)
-
Step 950
950
#322316
oklch(27.1% 0.032 61.8)
#7F542E 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) | #61582A | 0.055 |
| Deuteranopia (no green cones) | #6B612E | 0.049 |
| Tritanopia (no blue cones) | #8A4B4B | 0.057 |
| Achromatopsia (no color) | #5D5D5D | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F542E
#7F542E
oklch(48.5% 0.078 60.8)
- #326487
#326487
oklch(48.4% 0.078 241.4)
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 #7F542E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Milk Chocolate #7F4E1E ΔE 0.019
- Medium Brown #7F5112 ΔE 0.023
- Cocoa #875F42 ΔE 0.038
- Saddle Brown #8B4513 ΔE 0.040
- Mud #735C12 ΔE 0.045
- Dirt Brown #836539 ΔE 0.047
- Warm Brown #964E02 ΔE 0.047
- Sepia #985E2B ΔE 0.056
Use #7F542E 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.