#878C14#878C14
#878C14 is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.6% C 0.131 H 112.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #878C14 |
|---|---|
| RGB | rgb(135, 140, 20) |
| HSL | hsl(63, 75%, 31%) |
| HSV | hsv(63, 86%, 55%) |
| CMYK | cmyk(3.6%, 0%, 85.7%, 45.1%) |
| CIE-LAB | lab(56.05, -15.66, 56.33) |
| CIE-LCH | lch(56.05, 58.46, 105.54°) |
| OKLab | oklab(61.57% -0.0496 0.1212) |
| OKLCH | oklch(61.57% 0.131 112.3) |
| XYZ | xyz(19.4967, 23.9581, 4.2590) |
| Luminance | 0.2396 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.99
Baby Poop Green
#8F9805
ΔE00 4.19
Olive
#808000
ΔE00 4.34
Swamp Green
#748500
ΔE00 4.56
Pea Soup
#929901
ΔE00 4.64
Shit Green
#758000
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#878C14 #19148C
analogous
#8C5514 #878C14 #4B8C14
triadic
#878C14 #14878C #8C1487
tetradic
#878C14 #148C55 #19148C #8C144B
square
#878C14 #148C55 #19148C #8C144B
split-complementary
#878C14 #144B8C #55148C
monochromatic
#202105 #53560C #878C14 #BBC21C #DBE338
Accessibility & contrast
On white
3.63
#878C14 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#878C14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #878C14
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##878C14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##878C14 | 1.00 | 3.63 | 5.79 | 5.79 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988821
Tritanopia (blue-blind)
#918377
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #878c14; /* rgb */ color: rgb(135, 140, 20); /* oklch */ color: oklch(61.6% 0.131 112.3);
Tailwind
colors: {
custom: {
50: '#aead60',
500: '#878c14',
950: '#000000',
},
}SCSS
$custom: #878c14; $custom-light: #aead60; $custom-dark: #000000;
JSON
{
"hex": "#878c14",
"rgb": {
"r": 135,
"g": 140,
"b": 20
},
"hsl": {
"h": 62.5,
"s": 75,
"l": 31.373
},
"oklch": {
"l": 0.61573,
"c": 0.13095,
"h": 112.3
},
"luminance": 0.23958
}Semantic roles & 50–950 ramp
primary
#878C14
secondary
#413CC0
accent
#36F23E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A