#877F27#877F27
#877F27 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.107 H 104.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #877F27 |
|---|---|
| RGB | rgb(135, 127, 39) |
| HSL | hsl(55, 55%, 34%) |
| HSV | hsv(55, 71%, 53%) |
| CMYK | cmyk(0%, 5.9%, 71.1%, 47.1%) |
| CIE-LAB | lab(52.37, -7.85, 46.62) |
| CIE-LCH | lch(52.37, 47.27, 99.56°) |
| OKLab | oklab(58.67% -0.0261 0.1041) |
| OKLCH | oklch(58.67% 0.107 104.1) |
| XYZ | xyz(17.9480, 20.4768, 4.9261) |
| Luminance | 0.2048 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.77
Drab
#828344
ΔE00 5.51
Baby Poop
#937C00
ΔE00 5.65
Ugly Brown
#7D7103
ΔE00 5.71
Hazel
#8E7618
ΔE00 5.78
Shit Green
#758000
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877F27 #272F87
analogous
#874F27 #877F27 #5F8727
triadic
#877F27 #27877F #7F2787
tetradic
#877F27 #27874F #272F87 #87275F
square
#877F27 #27874F #272F87 #87275F
split-complementary
#877F27 #275F87 #4F2787
monochromatic
#28260C #585219 #877F27 #B6AC35 #CFC559
Accessibility & contrast
On white
4.12
#877F27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#877F27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877F27
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877F27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877F27 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B1A
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#91766D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #877f27; /* rgb */ color: rgb(135, 127, 39); /* oklch */ color: oklch(58.7% 0.107 104.1);
Tailwind
colors: {
custom: {
50: '#ada367',
500: '#877f27',
950: '#000000',
},
}SCSS
$custom: #877f27; $custom-light: #ada367; $custom-dark: #000000;
JSON
{
"hex": "#877f27",
"rgb": {
"r": 135,
"g": 127,
"b": 39
},
"hsl": {
"h": 55,
"s": 55.172,
"l": 34.118
},
"oklch": {
"l": 0.58672,
"c": 0.10732,
"h": 104.1
},
"luminance": 0.20476
}Semantic roles & 50–950 ramp
primary
#877F27
secondary
#565EB4
accent
#56DF49
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A