#878C15#878C15
#878C15 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 | #878C15 |
|---|---|
| RGB | rgb(135, 140, 21) |
| HSL | hsl(63, 74%, 32%) |
| HSV | hsv(63, 85%, 55%) |
| CMYK | cmyk(3.6%, 0%, 85%, 45.1%) |
| CIE-LAB | lab(56.05, -15.63, 56.08) |
| CIE-LCH | lch(56.05, 58.22, 105.58°) |
| OKLab | oklab(61.58% -0.0495 0.1208) |
| OKLCH | oklch(61.58% 0.131 112.3) |
| XYZ | xyz(19.5058, 23.9617, 4.3069) |
| 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.21
Olive
#808000
ΔE00 4.35
Swamp Green
#748500
ΔE00 4.56
Pea Soup
#929901
ΔE00 4.67
Shit Green
#758000
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#878C15 #1A158C
analogous
#8C5615 #878C15 #4C8C15
triadic
#878C15 #15878C #8C1587
tetradic
#878C15 #158C56 #1A158C #8C154C
square
#878C15 #158C56 #1A158C #8C154C
split-complementary
#878C15 #154C8C #56158C
monochromatic
#202205 #54570D #878C15 #BAC11D #DAE13A
Accessibility & contrast
On white
3.63
#878C15 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.79
#878C15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #878C15
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##878C15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##878C15 | 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)
#988822
Tritanopia (blue-blind)
#918377
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #878c15; /* rgb */ color: rgb(135, 140, 21); /* oklch */ color: oklch(61.6% 0.131 112.3);
Tailwind
colors: {
custom: {
50: '#aead60',
500: '#878c15',
950: '#000000',
},
}SCSS
$custom: #878c15; $custom-light: #aead60; $custom-dark: #000000;
JSON
{
"hex": "#878c15",
"rgb": {
"r": 135,
"g": 140,
"b": 21
},
"hsl": {
"h": 62.521,
"s": 73.913,
"l": 31.569
},
"oklch": {
"l": 0.61577,
"c": 0.13056,
"h": 112.3
},
"luminance": 0.23961
}Semantic roles & 50–950 ramp
primary
#878C15
secondary
#423DC0
accent
#37F13F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A