#8E8718#8E8718
#8E8718 is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 61.1% C 0.123 H 105.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8718 |
|---|---|
| RGB | rgb(142, 135, 24) |
| HSL | hsl(56, 71%, 33%) |
| HSV | hsv(56, 83%, 56%) |
| CMYK | cmyk(0%, 4.9%, 83.1%, 44.3%) |
| CIE-LAB | lab(55.22, -9.67, 54.80) |
| CIE-LCH | lch(55.22, 55.65, 100.01°) |
| OKLab | oklab(61.07% -0.0331 0.1183) |
| OKLCH | oklch(61.07% 0.123 105.6) |
| XYZ | xyz(19.9851, 23.1455, 4.2788) |
| Luminance | 0.2314 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.74
Baby Poop
#937C00
ΔE00 5.84
Shit Green
#758000
ΔE00 6.36
Diarrhea
#9F8303
ΔE00 6.53
Baby Poop Green
#8F9805
ΔE00 6.59
Pea Soup
#929901
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8718 #181F8E
analogous
#8E4C18 #8E8718 #5A8E18
triadic
#8E8718 #188E87 #87188E
tetradic
#8E8718 #188E4C #181F8E #8E185A
square
#8E8718 #188E4C #181F8E #8E185A
split-complementary
#8E8718 #185A8E #4C188E
monochromatic
#252306 #5A550F #8E8718 #C2B921 #DFD641
Accessibility & contrast
On white
3.73
#8E8718 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.63
#8E8718 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8718
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8718 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8718 | 1.00 | 3.73 | 5.63 | 5.63 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#968622
Tritanopia (blue-blind)
#997D73
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8e8718; /* rgb */ color: rgb(142, 135, 24); /* oklch */ color: oklch(61.1% 0.123 105.6);
Tailwind
colors: {
custom: {
50: '#b3a961',
500: '#8e8718',
950: '#000000',
},
}SCSS
$custom: #8e8718; $custom-light: #b3a961; $custom-dark: #000000;
JSON
{
"hex": "#8e8718",
"rgb": {
"r": 142,
"g": 135,
"b": 24
},
"hsl": {
"h": 56.441,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.61068,
"c": 0.12281,
"h": 105.6
},
"luminance": 0.23145
}Semantic roles & 50–950 ramp
primary
#8E8718
secondary
#424AC0
accent
#45EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A