#878C1E#878C1E
#878C1E is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.6% C 0.126 H 112.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #878C1E |
|---|---|
| RGB | rgb(135, 140, 30) |
| HSL | hsl(63, 65%, 33%) |
| HSV | hsv(63, 79%, 55%) |
| CMYK | cmyk(3.6%, 0%, 78.6%, 45.1%) |
| CIE-LAB | lab(56.09, -15.31, 53.50) |
| CIE-LCH | lch(56.09, 55.65, 105.96°) |
| OKLab | oklab(61.62% -0.0479 0.117) |
| OKLCH | oklch(61.62% 0.126 112.3) |
| XYZ | xyz(19.6048, 24.0013, 4.8280) |
| Luminance | 0.2400 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Green
#889717
ΔE00 4.06
Olive
#808000
ΔE00 4.51
Baby Poop Green
#8F9805
ΔE00 4.52
Swamp Green
#748500
ΔE00 4.58
Pea Soup
#929901
ΔE00 5.01
Shit Green
#758000
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#878C1E #231E8C
analogous
#8C5A1E #878C1E #508C1E
triadic
#878C1E #1E878C #8C1E87
tetradic
#878C1E #1E8C5A #231E8C #8C1E50
square
#878C1E #1E8C5A #231E8C #8C1E50
split-complementary
#878C1E #1E508C #5A1E8C
monochromatic
#262708 #565A13 #878C1E #B8BE29 #D2D94C
Accessibility & contrast
On white
3.62
#878C1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#878C1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #878C1E
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##878C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##878C1E | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#918378
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #878c1e; /* rgb */ color: rgb(135, 140, 30); /* oklch */ color: oklch(61.6% 0.126 112.3);
Tailwind
colors: {
custom: {
50: '#adad64',
500: '#878c1e',
950: '#000000',
},
}SCSS
$custom: #878c1e; $custom-light: #adad64; $custom-dark: #000000;
JSON
{
"hex": "#878c1e",
"rgb": {
"r": 135,
"g": 140,
"b": 30
},
"hsl": {
"h": 62.727,
"s": 64.706,
"l": 33.333
},
"oklch": {
"l": 0.61621,
"c": 0.12638,
"h": 112.3
},
"luminance": 0.24001
}Semantic roles & 50–950 ramp
primary
#878C1E
secondary
#504BBB
accent
#40E848
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A