#877F52#877F52
#877F52 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.064 H 99.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #877F52 |
|---|---|
| RGB | rgb(135, 127, 82) |
| HSL | hsl(51, 24%, 43%) |
| HSV | hsv(51, 39%, 53%) |
| CMYK | cmyk(0%, 5.9%, 39.3%, 47.1%) |
| CIE-LAB | lab(52.88, -4.02, 25.57) |
| CIE-LCH | lch(52.88, 25.88, 98.94°) |
| OKLab | oklab(59.24% -0.0104 0.0629) |
| OKLCH | oklch(59.24% 0.064 99.4) |
| XYZ | xyz(19.1044, 20.9394, 11.0164) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.04
Brown Grey
#8D8468
ΔE00 5.64
Dark Khaki
#9B8F55
ΔE00 6.63
Grey Brown
#7F7053
ΔE00 7.96
Brownish Grey
#86775F
ΔE00 8.26
Olive Drab
#6F7632
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877F52 #525A87
analogous
#876452 #877F52 #758752
triadic
#877F52 #52877F #7F5287
tetradic
#877F52 #528764 #525A87 #875275
square
#877F52 #528764 #525A87 #875275
split-complementary
#877F52 #527587 #645287
monochromatic
#3B3724 #615B3B #877F52 #A79F6F #BFB895
Accessibility & contrast
On white
4.05
#877F52 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#877F52 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877F52
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877F52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877F52 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877C4F
Deuteranopia (green-blind)
#8A8054
Tritanopia (blue-blind)
#8F7974
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #877f52; /* rgb */ color: rgb(135, 127, 82); /* oklch */ color: oklch(59.2% 0.064 99.4);
Tailwind
colors: {
custom: {
50: '#aba483',
500: '#877f52',
950: '#000000',
},
}SCSS
$custom: #877f52; $custom-light: #aba483; $custom-dark: #000000;
JSON
{
"hex": "#877f52",
"rgb": {
"r": 135,
"g": 127,
"b": 82
},
"hsl": {
"h": 50.943,
"s": 24.424,
"l": 42.549
},
"oklch": {
"l": 0.59243,
"c": 0.06373,
"h": 99.4
},
"luminance": 0.20939
}Semantic roles & 50–950 ramp
primary
#877F52
secondary
#898EAC
accent
#75C167
background
#FAFAF8
surface
#F4F3EF
border
#CECDCA
text
#100F0A
muted
#7F7F7C