#877E19#877E19
#877E19 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.3% C 0.115 H 104.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #877E19 |
|---|---|
| RGB | rgb(135, 126, 25) |
| HSL | hsl(55, 69%, 31%) |
| HSV | hsv(55, 81%, 53%) |
| CMYK | cmyk(0%, 6.7%, 81.5%, 47.1%) |
| CIE-LAB | lab(52.00, -7.96, 51.43) |
| CIE-LCH | lch(52.00, 52.04, 98.79°) |
| OKLab | oklab(58.35% -0.0278 0.1116) |
| OKLCH | oklch(58.35% 0.115 104) |
| XYZ | xyz(17.6288, 20.1435, 3.8790) |
| Luminance | 0.2014 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.00
Baby Poop
#937C00
ΔE00 4.70
Ugly Brown
#7D7103
ΔE00 4.98
Hazel
#8E7618
ΔE00 5.33
Shit Green
#758000
ΔE00 5.78
Puke Brown
#947706
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E19 #192287
analogous
#874719 #877E19 #598719
triadic
#877E19 #19877E #7E1987
tetradic
#877E19 #198747 #192287 #871959
square
#877E19 #198747 #192287 #871959
split-complementary
#877E19 #195987 #471987
monochromatic
#201E06 #534E0F #877E19 #BBAE23 #DBCF3F
Accessibility & contrast
On white
4.18
#877E19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#877E19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E19
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E19 | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#92756B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e19; /* rgb */ color: rgb(135, 126, 25); /* oklch */ color: oklch(58.3% 0.115 104.0);
Tailwind
colors: {
custom: {
50: '#aea360',
500: '#877e19',
950: '#000000',
},
}SCSS
$custom: #877e19; $custom-light: #aea360; $custom-dark: #000000;
JSON
{
"hex": "#877e19",
"rgb": {
"r": 135,
"g": 126,
"b": 25
},
"hsl": {
"h": 55.091,
"s": 68.75,
"l": 31.373
},
"oklch": {
"l": 0.58348,
"c": 0.11497,
"h": 104
},
"luminance": 0.20143
}Semantic roles & 50–950 ramp
primary
#877E19
secondary
#414BBA
accent
#4BEC3C
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79