#7F7852
Closest named color: Grey Brown (#7F7053). oklch(56.9% 0.055 99), rgb(127, 120, 82).
Aa
Black text reads best on this color (4.71:1).
About this color
#7F7852 is a medium-dark, muted yellow. In OKLCH its lightness is 57%, its chroma 0.055 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Grey Brown (#7F7053), ΔE 0.024 away. Black text reads best on it, at 4.71:1.
| Hue family | Yellows |
| Lightness | medium-dark (57%) |
| Chroma | muted (0.055) |
| Temperature | warm |
| Nearest name | Grey Brown (#7F7053) |
| Black text | 4.71:1 |
| White text | 4.45:1 |
Values
| HEX | #7F7852 |
| RGB | rgb(127, 120, 82) |
| HSL | hsl(51, 22%, 41%) |
| OKLCH | oklch(56.9% 0.055 99) |
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 #7F7852 | 4.45:1 | AA large text | Lc -76.4 | Fine for body text |
| Black text on #7F7852 | 4.71:1 | AA | Lc 33.2 | Non-text elements, placeholder text |
| #7F7852 text on white | 4.45:1 | AA large text | Lc 70.9 | Content text, not long reading |
| #7F7852 text on black | 4.71:1 | AA | Lc -30.7 | Non-text elements, placeholder text |
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 600.
-
Step 50
50
#F6F5F3
oklch(97% 0.003 84.6)
-
Step 100
100
#EBEAE5
oklch(93.6% 0.007 97.4)
-
Step 200
200
#DBD9CF
oklch(88.4% 0.014 97.5)
-
Step 300
300
#C4C1AF
oklch(80.8% 0.025 99.2)
-
Step 400
400
#A6A185
oklch(70.6% 0.04 98.9)
-
Step 500
500
#918A67
oklch(63% 0.05 98.1)
-
Step 600
600 (this color)
#7F7852
oklch(56.9% 0.055 99)
-
Step 700
700
#68613F
oklch(49% 0.051 98)
-
Step 800
800
#555034
oklch(42.8% 0.043 99.3)
-
Step 900
900
#46422E
oklch(37.7% 0.032 98.2)
-
Step 950
950
#29271B
oklch(27.1% 0.021 99.7)
#7F7852 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) | #7F764F | 0.006 |
| Deuteranopia (no green cones) | #817953 | 0.005 |
| Tritanopia (no blue cones) | #86736E | 0.049 |
| Achromatopsia (no color) | #777777 | 0.055 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F7852
#7F7852
oklch(56.9% 0.055 99)
- #707498
#707498
oklch(56.9% 0.056 279.5)
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 #7F7852, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grey Brown #7F7053 ΔE 0.024
- Dull Brown #876E4B ΔE 0.028
- Dirt #8A6E45 ΔE 0.030
- Drab #828344 ΔE 0.042
- Dark Taupe #7F684E ΔE 0.045
- Brown Grey #8D8468 ΔE 0.047
- Mocha #9D7651 ΔE 0.049
- Military Green #667C3E ΔE 0.051
Use #7F7852 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.