#878119#878119
#878119 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.0% C 0.118 H 106.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #878119 |
|---|---|
| RGB | rgb(135, 129, 25) |
| HSL | hsl(57, 69%, 31%) |
| HSV | hsv(57, 81%, 53%) |
| CMYK | cmyk(0%, 4.4%, 81.5%, 47.1%) |
| CIE-LAB | lab(52.86, -9.60, 52.20) |
| CIE-LCH | lch(52.86, 53.07, 100.42°) |
| OKLab | oklab(59.04% -0.0324 0.1132) |
| OKLCH | oklch(59.04% 0.118 106) |
| XYZ | xyz(18.0182, 20.9223, 4.0088) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.27
Shit Green
#758000
ΔE00 5.05
Baby Poop
#937C00
ΔE00 5.56
Ugly Brown
#7D7103
ΔE00 6.11
Swamp Green
#748500
ΔE00 6.22
Poop Green
#6F7C00
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#878119 #191F87
analogous
#874A19 #878119 #568719
triadic
#878119 #198781 #811987
tetradic
#878119 #19874A #191F87 #871956
square
#878119 #19874A #191F87 #871956
split-complementary
#878119 #195687 #4A1987
monochromatic
#201E06 #53500F #878119 #BBB223 #DBD33F
Accessibility & contrast
On white
4.05
#878119 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#878119 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #878119
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##878119 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##878119 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#92786E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #878119; /* rgb */ color: rgb(135, 129, 25); /* oklch */ color: oklch(59.0% 0.118 106.0);
Tailwind
colors: {
custom: {
50: '#aea560',
500: '#878119',
950: '#000000',
},
}SCSS
$custom: #878119; $custom-light: #aea560; $custom-dark: #000000;
JSON
{
"hex": "#878119",
"rgb": {
"r": 135,
"g": 129,
"b": 25
},
"hsl": {
"h": 56.727,
"s": 68.75,
"l": 31.373
},
"oklch": {
"l": 0.59037,
"c": 0.11775,
"h": 106
},
"luminance": 0.20922
}Semantic roles & 50–950 ramp
primary
#878119
secondary
#4148BA
accent
#46EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A