#878A1E#878A1E
#878A1E is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.124 H 111.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #878A1E |
|---|---|
| RGB | rgb(135, 138, 30) |
| HSL | hsl(62, 64%, 33%) |
| HSV | hsv(62, 78%, 54%) |
| CMYK | cmyk(2.2%, 0%, 78.3%, 45.9%) |
| CIE-LAB | lab(55.50, -14.25, 52.97) |
| CIE-LCH | lch(55.50, 54.85, 105.06°) |
| OKLab | oklab(61.15% -0.0449 0.1158) |
| OKLCH | oklch(61.15% 0.124 111.2) |
| XYZ | xyz(19.3152, 23.4221, 4.7315) |
| Luminance | 0.2342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.86
Swamp Green
#748500
ΔE00 4.59
Baby Shit Green
#889717
ΔE00 4.85
Shit Green
#758000
ΔE00 4.85
Baby Poop Green
#8F9805
ΔE00 5.17
Pea Soup
#929901
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#878A1E #211E8A
analogous
#8A571E #878A1E #518A1E
triadic
#878A1E #1E878A #8A1E87
tetradic
#878A1E #1E8A57 #211E8A #8A1E51
square
#878A1E #1E8A57 #211E8A #8A1E51
split-complementary
#878A1E #1E518A #571E8A
monochromatic
#252508 #565813 #878A1E #B8BC29 #D4D84B
Accessibility & contrast
On white
3.69
#878A1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#878A1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #878A1E
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##878A1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##878A1E | 1.00 | 3.69 | 5.68 | 5.68 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958402
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#918176
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #878a1e; /* rgb */ color: rgb(135, 138, 30); /* oklch */ color: oklch(61.2% 0.124 111.2);
Tailwind
colors: {
custom: {
50: '#adab64',
500: '#878a1e',
950: '#000000',
},
}SCSS
$custom: #878a1e; $custom-light: #adab64; $custom-dark: #000000;
JSON
{
"hex": "#878a1e",
"rgb": {
"r": 135,
"g": 138,
"b": 30
},
"hsl": {
"h": 61.667,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.61153,
"c": 0.12424,
"h": 111.2
},
"luminance": 0.23422
}Semantic roles & 50–950 ramp
primary
#878A1E
secondary
#4D4ABA
accent
#41E745
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A