#878819#878819
#878819 is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.7% C 0.125 H 110.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #878819 |
|---|---|
| RGB | rgb(135, 136, 25) |
| HSL | hsl(61, 69%, 32%) |
| HSV | hsv(61, 82%, 53%) |
| CMYK | cmyk(0.7%, 0%, 81.6%, 46.7%) |
| CIE-LAB | lab(54.90, -13.38, 53.99) |
| CIE-LCH | lch(54.90, 55.62, 103.92°) |
| OKLab | oklab(60.66% -0.0429 0.1171) |
| OKLCH | oklch(60.66% 0.125 110.1) |
| XYZ | xyz(18.9720, 22.8300, 4.3268) |
| Luminance | 0.2283 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.09
Shit Green
#758000
ΔE00 4.60
Swamp Green
#748500
ΔE00 4.70
Baby Shit Green
#889717
ΔE00 5.59
Baby Poop Green
#8F9805
ΔE00 5.69
Pea Soup
#929901
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#878819 #1A1988
analogous
#885219 #878819 #508819
triadic
#878819 #198788 #881987
tetradic
#878819 #198852 #1A1988 #881950
square
#878819 #198852 #1A1988 #881950
split-complementary
#878819 #195088 #521988
monochromatic
#202106 #54540F #878819 #BABC23 #DADC40
Accessibility & contrast
On white
3.77
#878819 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#878819 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #878819
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##878819 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##878819 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#917F74
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #878819; /* rgb */ color: rgb(135, 136, 25); /* oklch */ color: oklch(60.7% 0.125 110.1);
Tailwind
colors: {
custom: {
50: '#adaa61',
500: '#878819',
950: '#000000',
},
}SCSS
$custom: #878819; $custom-light: #adaa61; $custom-dark: #000000;
JSON
{
"hex": "#878819",
"rgb": {
"r": 135,
"g": 136,
"b": 25
},
"hsl": {
"h": 60.541,
"s": 68.944,
"l": 31.569
},
"oklch": {
"l": 0.6066,
"c": 0.12468,
"h": 110.1
},
"luminance": 0.22829
}Semantic roles & 50–950 ramp
primary
#878819
secondary
#4241BB
accent
#3CEC3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A