#8E8617#8E8617
#8E8617 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.8% C 0.122 H 105.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8617 |
|---|---|
| RGB | rgb(142, 134, 23) |
| HSL | hsl(56, 72%, 32%) |
| HSV | hsv(56, 84%, 56%) |
| CMYK | cmyk(0%, 5.6%, 83.8%, 44.3%) |
| CIE-LAB | lab(54.93, -9.16, 54.83) |
| CIE-LCH | lch(54.93, 55.59, 99.48°) |
| OKLab | oklab(60.83% -0.0317 0.1182) |
| OKLCH | oklch(60.83% 0.122 105) |
| XYZ | xyz(19.8360, 22.8637, 4.1787) |
| Luminance | 0.2286 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.68
Baby Poop
#937C00
ΔE00 5.43
Diarrhea
#9F8303
ΔE00 6.24
Shit Green
#758000
ΔE00 6.44
Baby Poop Green
#8F9805
ΔE00 6.99
Pea Soup
#929901
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8617 #171F8E
analogous
#8E4A17 #8E8617 #5B8E17
triadic
#8E8617 #178E86 #86178E
tetradic
#8E8617 #178E4A #171F8E #8E175B
square
#8E8617 #178E4A #171F8E #8E175B
split-complementary
#8E8617 #175B8E #4A178E
monochromatic
#252306 #59540E #8E8617 #C3B820 #E0D53F
Accessibility & contrast
On white
3.77
#8E8617 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#8E8617 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8617
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8617 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8617 | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#958621
Tritanopia (blue-blind)
#997C72
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8e8617; /* rgb */ color: rgb(142, 134, 23); /* oklch */ color: oklch(60.8% 0.122 105.0);
Tailwind
colors: {
custom: {
50: '#b3a860',
500: '#8e8617',
950: '#000000',
},
}SCSS
$custom: #8e8617; $custom-light: #b3a860; $custom-dark: #000000;
JSON
{
"hex": "#8e8617",
"rgb": {
"r": 142,
"g": 134,
"b": 23
},
"hsl": {
"h": 55.966,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.60835,
"c": 0.12234,
"h": 105
},
"luminance": 0.22863
}Semantic roles & 50–950 ramp
primary
#8E8617
secondary
#4049C0
accent
#45EF39
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A