#877F19#877F19
#877F19 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.116 H 104.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #877F19 |
|---|---|
| RGB | rgb(135, 127, 25) |
| HSL | hsl(56, 69%, 31%) |
| HSV | hsv(56, 81%, 53%) |
| CMYK | cmyk(0%, 5.9%, 81.5%, 47.1%) |
| CIE-LAB | lab(52.29, -8.51, 51.69) |
| CIE-LCH | lch(52.29, 52.38, 99.34°) |
| OKLab | oklab(58.58% -0.0294 0.1121) |
| OKLCH | oklch(58.58% 0.116 104.7) |
| XYZ | xyz(17.7573, 20.4006, 3.9219) |
| Luminance | 0.2040 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.70
Baby Poop
#937C00
ΔE00 4.97
Ugly Brown
#7D7103
ΔE00 5.35
Shit Green
#758000
ΔE00 5.51
Hazel
#8E7618
ΔE00 5.74
Poop Green
#6F7C00
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877F19 #192187
analogous
#874819 #877F19 #588719
triadic
#877F19 #19877F #7F1987
tetradic
#877F19 #198748 #192187 #871958
square
#877F19 #198748 #192187 #871958
split-complementary
#877F19 #195887 #481987
monochromatic
#201E06 #534E0F #877F19 #BBB023 #DBD03F
Accessibility & contrast
On white
4.13
#877F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#877F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877F19
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877F19 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#92766C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #877f19; /* rgb */ color: rgb(135, 127, 25); /* oklch */ color: oklch(58.6% 0.116 104.7);
Tailwind
colors: {
custom: {
50: '#aea360',
500: '#877f19',
950: '#000000',
},
}SCSS
$custom: #877f19; $custom-light: #aea360; $custom-dark: #000000;
JSON
{
"hex": "#877f19",
"rgb": {
"r": 135,
"g": 127,
"b": 25
},
"hsl": {
"h": 55.636,
"s": 68.75,
"l": 31.373
},
"oklch": {
"l": 0.58578,
"c": 0.11588,
"h": 104.7
},
"luminance": 0.204
}Semantic roles & 50–950 ramp
primary
#877F19
secondary
#414ABA
accent
#49EC3C
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79