#877E27#877E27
#877E27 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.106 H 103.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #877E27 |
|---|---|
| RGB | rgb(135, 126, 39) |
| HSL | hsl(54, 55%, 34%) |
| HSV | hsv(54, 71%, 53%) |
| CMYK | cmyk(0%, 6.7%, 71.1%, 47.1%) |
| CIE-LAB | lab(52.08, -7.30, 46.33) |
| CIE-LCH | lch(52.08, 46.90, 98.95°) |
| OKLab | oklab(58.44% -0.0246 0.1035) |
| OKLCH | oklch(58.44% 0.106 103.4) |
| XYZ | xyz(17.8195, 20.2198, 4.8832) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.03
Hazel
#8E7618
ΔE00 5.39
Ugly Brown
#7D7103
ΔE00 5.39
Baby Poop
#937C00
ΔE00 5.43
Drab
#828344
ΔE00 5.66
Shit Green
#758000
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E27 #273087
analogous
#874E27 #877E27 #608727
triadic
#877E27 #27877E #7E2787
tetradic
#877E27 #27874E #273087 #872760
square
#877E27 #27874E #273087 #872760
split-complementary
#877E27 #276087 #4E2787
monochromatic
#28250C #585219 #877E27 #B6AA35 #CFC459
Accessibility & contrast
On white
4.16
#877E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#877E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E27
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E27 | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A1A
Deuteranopia (green-blind)
#8C7E2D
Tritanopia (blue-blind)
#91756D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e27; /* rgb */ color: rgb(135, 126, 39); /* oklch */ color: oklch(58.4% 0.106 103.4);
Tailwind
colors: {
custom: {
50: '#ada367',
500: '#877e27',
950: '#000000',
},
}SCSS
$custom: #877e27; $custom-light: #ada367; $custom-dark: #000000;
JSON
{
"hex": "#877e27",
"rgb": {
"r": 135,
"g": 126,
"b": 39
},
"hsl": {
"h": 54.375,
"s": 55.172,
"l": 34.118
},
"oklch": {
"l": 0.58444,
"c": 0.10635,
"h": 103.4
},
"luminance": 0.20219
}Semantic roles & 50–950 ramp
primary
#877E27
secondary
#565FB4
accent
#57DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A