#878426#878426
#878426 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.8% C 0.113 H 107.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #878426 |
|---|---|
| RGB | rgb(135, 132, 38) |
| HSL | hsl(58, 56%, 34%) |
| HSV | hsv(58, 72%, 53%) |
| CMYK | cmyk(0%, 2.2%, 71.9%, 47.1%) |
| CIE-LAB | lab(53.81, -10.64, 48.45) |
| CIE-LCH | lch(53.81, 49.61, 102.39°) |
| OKLab | oklab(59.81% -0.0341 0.1078) |
| OKLCH | oklch(59.81% 0.113 107.6) |
| XYZ | xyz(18.5935, 21.7940, 5.0606) |
| Luminance | 0.2179 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.14
Shit Green
#758000
ΔE00 4.96
Drab
#828344
ΔE00 5.37
Swamp Green
#748500
ΔE00 5.70
Poop Green
#6F7C00
ΔE00 6.29
Baby Poop
#937C00
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#878426 #262987
analogous
#875426 #878426 #5A8726
triadic
#878426 #268784 #842687
tetradic
#878426 #268754 #262987 #87265A
square
#878426 #268754 #262987 #87265A
split-complementary
#878426 #265A87 #542687
monochromatic
#27270B #575519 #878426 #B7B333 #D0CC58
Accessibility & contrast
On white
3.92
#878426 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#878426 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #878426
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##878426 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##878426 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F17
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#917B71
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #878426; /* rgb */ color: rgb(135, 132, 38); /* oklch */ color: oklch(59.8% 0.113 107.6);
Tailwind
colors: {
custom: {
50: '#ada767',
500: '#878426',
950: '#000000',
},
}SCSS
$custom: #878426; $custom-light: #ada767; $custom-dark: #000000;
JSON
{
"hex": "#878426",
"rgb": {
"r": 135,
"g": 132,
"b": 38
},
"hsl": {
"h": 58.144,
"s": 56.069,
"l": 33.922
},
"oklch": {
"l": 0.59813,
"c": 0.11303,
"h": 107.6
},
"luminance": 0.21793
}Semantic roles & 50–950 ramp
primary
#878426
secondary
#5457B5
accent
#4DDF48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A