#878D19#878D19
#878D19 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.8% C 0.130 H 112.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #878D19 |
|---|---|
| RGB | rgb(135, 141, 25) |
| HSL | hsl(63, 70%, 33%) |
| HSV | hsv(63, 82%, 55%) |
| CMYK | cmyk(4.3%, 0%, 82.3%, 44.7%) |
| CIE-LAB | lab(56.36, -16.03, 55.27) |
| CIE-LCH | lch(56.36, 57.54, 106.17°) |
| OKLab | oklab(61.83% -0.0503 0.1198) |
| OKLCH | oklch(61.83% 0.13 112.8) |
| XYZ | xyz(19.6927, 24.2713, 4.5670) |
| Luminance | 0.2427 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 3.62
Baby Poop Green
#8F9805
ΔE00 4.01
Pea Soup
#929901
ΔE00 4.52
Swamp Green
#748500
ΔE00 4.60
Olive
#808000
ΔE00 4.75
Shit Green
#758000
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#878D19 #1F198D
analogous
#8D5919 #878D19 #4D8D19
triadic
#878D19 #19878D #8D1987
tetradic
#878D19 #198D59 #1F198D #8D194D
square
#878D19 #198D59 #1F198D #8D194D
split-complementary
#878D19 #194D8D #59198D
monochromatic
#232507 #555910 #878D19 #B9C122 #D6DE43
Accessibility & contrast
On white
3.59
#878D19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#878D19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #878D19
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##878D19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##878D19 | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#988824
Tritanopia (blue-blind)
#918478
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #878d19; /* rgb */ color: rgb(135, 141, 25); /* oklch */ color: oklch(61.8% 0.130 112.8);
Tailwind
colors: {
custom: {
50: '#aeae62',
500: '#878d19',
950: '#000000',
},
}SCSS
$custom: #878d19; $custom-light: #aeae62; $custom-dark: #000000;
JSON
{
"hex": "#878d19",
"rgb": {
"r": 135,
"g": 141,
"b": 25
},
"hsl": {
"h": 63.103,
"s": 69.88,
"l": 32.549
},
"oklch": {
"l": 0.6183,
"c": 0.12992,
"h": 112.8
},
"luminance": 0.24271
}Semantic roles & 50–950 ramp
primary
#878D19
secondary
#4A43BF
accent
#3BED44
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A