#7F512D
Closest named color: Milk Chocolate (#7F4E1E). oklch(47.9% 0.08 57.4), rgb(127, 81, 45).
Aa
White text reads best on this color (6.73:1).
About this color
#7F512D is a medium-dark, moderately saturated brown. In OKLCH its lightness is 48%, its chroma 0.080 and its hue 57°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.015 away. White text reads best on it, at 6.73:1.
| Hue family | Browns |
| Lightness | medium-dark (48%) |
| Chroma | moderately saturated (0.080) |
| Temperature | warm |
| Nearest name | Milk Chocolate (#7F4E1E) |
| Black text | 3.11:1 |
| White text | 6.73:1 |
Values
| HEX | #7F512D |
| RGB | rgb(127, 81, 45) |
| HSL | hsl(26, 48%, 34%) |
| OKLCH | oklch(47.9% 0.08 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 #7F512D | 6.73:1 | AA | Lc -88.0 | Fine for body text |
| Black text on #7F512D | 3.11:1 | AA large text | Lc 21.0 | Dividers and decoration only |
| #7F512D text on white | 6.73:1 | AA | Lc 83.0 | Fine for body text |
| #7F512D text on black | 3.11:1 | AA large text | Lc -18.9 | 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
#D5BBA9
oklch(80.9% 0.039 56.8)
-
Step 400
400
#BF977B
oklch(70.6% 0.062 56.5)
-
Step 500
500
#AE7D59
oklch(63% 0.079 57)
-
Step 600
600
#99663E
oklch(55.6% 0.086 57.9)
-
Step 700
700 (this color)
#7F512D
oklch(47.9% 0.08 57.4)
-
Step 800
800
#6A4529
oklch(42.6% 0.066 57)
-
Step 900
900
#563A25
oklch(37.5% 0.052 57.3)
-
Step 950
950
#332216
oklch(26.9% 0.033 56)
#7F512D 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) | #5F552A | 0.059 |
| Deuteranopia (no green cones) | #6A602D | 0.054 |
| Tritanopia (no blue cones) | #8A4749 | 0.057 |
| Achromatopsia (no color) | #5C5C5C | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F512D
#7F512D
oklch(47.9% 0.08 57.4)
- #2B6485
#2B6485
oklch(48% 0.08 237.1)
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 #7F512D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Milk Chocolate #7F4E1E ΔE 0.015
- Medium Brown #7F5112 ΔE 0.024
- Saddle Brown #8B4513 ΔE 0.035
- Cocoa #875F42 ΔE 0.044
- Warm Brown #964E02 ΔE 0.047
- Mud #735C12 ΔE 0.050
- Dirt Brown #836539 ΔE 0.054
- Sepia #985E2B ΔE 0.061
Use #7F512D 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.