#7F522F
Closest named color: Milk Chocolate (#7F4E1E). oklch(48.1% 0.078 57.4), rgb(127, 82, 47).
Aa
White text reads best on this color (6.66:1).
About this color
#7F522F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 48%, its chroma 0.078 and its hue 57°. 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.66:1.
| Hue family | Browns |
| Lightness | medium-dark (48%) |
| Chroma | moderately saturated (0.078) |
| Temperature | warm |
| Nearest name | Milk Chocolate (#7F4E1E) |
| Black text | 3.15:1 |
| White text | 6.66:1 |
Values
| HEX | #7F522F |
| RGB | rgb(127, 82, 47) |
| HSL | hsl(26, 46%, 34%) |
| OKLCH | oklch(48.1% 0.078 57.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 #7F522F | 6.66:1 | AA | Lc -87.8 | Fine for body text |
| Black text on #7F522F | 3.15:1 | AA large text | Lc 21.3 | Dividers and decoration only |
| #7F522F text on white | 6.66:1 | AA | Lc 82.7 | Fine for body text |
| #7F522F text on black | 3.15:1 | AA large text | Lc -19.2 | 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
#D4BBA9
oklch(80.9% 0.038 57.9)
-
Step 400
400
#BE987C
oklch(70.8% 0.06 58)
-
Step 500
500
#AD7E5A
oklch(63.1% 0.077 58.2)
-
Step 600
600
#986640
oklch(55.5% 0.084 57.2)
-
Step 700
700 (this color)
#7F522F
oklch(48.1% 0.078 57.4)
-
Step 800
800
#6A462A
oklch(42.8% 0.065 57.8)
-
Step 900
900
#563B26
oklch(37.8% 0.05 58.3)
-
Step 950
950
#322217
oklch(26.8% 0.031 55.5)
#7F522F 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) | #5F562C | 0.058 |
| Deuteranopia (no green cones) | #6A602F | 0.052 |
| Tritanopia (no blue cones) | #8A494A | 0.054 |
| Achromatopsia (no color) | #5C5C5C | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F522F
#7F522F
oklch(48.1% 0.078 57.4)
- #2D6485
#2D6485
oklch(48.1% 0.079 237.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 #7F522F, 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.025
- Saddle Brown #8B4513 ΔE 0.037
- Cocoa #875F42 ΔE 0.041
- Warm Brown #964E02 ΔE 0.048
- Mud #735C12 ΔE 0.050
- Dirt Brown #836539 ΔE 0.052
- Sepia #985E2B ΔE 0.060
Use #7F522F 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.