#877F20#877F20
#877F20 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.112 H 104.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #877F20 |
|---|---|
| RGB | rgb(135, 127, 32) |
| HSL | hsl(55, 62%, 33%) |
| HSV | hsv(55, 76%, 53%) |
| CMYK | cmyk(0%, 5.9%, 76.3%, 47.1%) |
| CIE-LAB | lab(52.33, -8.21, 49.32) |
| CIE-LCH | lch(52.33, 50.00, 99.45°) |
| OKLab | oklab(58.62% -0.0279 0.1085) |
| OKLCH | oklch(58.62% 0.112 104.4) |
| XYZ | xyz(17.8425, 20.4346, 4.3706) |
| Luminance | 0.2043 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.13
Baby Poop
#937C00
ΔE00 5.24
Ugly Brown
#7D7103
ΔE00 5.46
Shit Green
#758000
ΔE00 5.67
Hazel
#8E7618
ΔE00 5.71
Drab
#828344
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877F20 #202887
analogous
#874C20 #877F20 #5B8720
triadic
#877F20 #20877F #7F2087
tetradic
#877F20 #20874C #202887 #87205B
square
#877F20 #20874C #202887 #87205B
split-complementary
#877F20 #205B87 #4C2087
monochromatic
#242209 #565014 #877F20 #B8AE2C #D5CA4D
Accessibility & contrast
On white
4.13
#877F20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#877F20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877F20
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877F20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877F20 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A0D
Deuteranopia (green-blind)
#8D7F27
Tritanopia (blue-blind)
#92766D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #877f20; /* rgb */ color: rgb(135, 127, 32); /* oklch */ color: oklch(58.6% 0.112 104.4);
Tailwind
colors: {
custom: {
50: '#ada363',
500: '#877f20',
950: '#000000',
},
}SCSS
$custom: #877f20; $custom-light: #ada363; $custom-dark: #000000;
JSON
{
"hex": "#877f20",
"rgb": {
"r": 135,
"g": 127,
"b": 32
},
"hsl": {
"h": 55.34,
"s": 61.677,
"l": 32.745
},
"oklch": {
"l": 0.5862,
"c": 0.112,
"h": 104.4
},
"luminance": 0.20434
}Semantic roles & 50–950 ramp
primary
#877F20
secondary
#4B54B8
accent
#50E543
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A