#8E8518#8E8518
#8E8518 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.121 H 104.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8518 |
|---|---|
| RGB | rgb(142, 133, 24) |
| HSL | hsl(55, 71%, 33%) |
| HSV | hsv(55, 83%, 56%) |
| CMYK | cmyk(0%, 6.3%, 83.1%, 44.3%) |
| CIE-LAB | lab(54.65, -8.58, 54.31) |
| CIE-LCH | lch(54.65, 54.98, 98.98°) |
| OKLab | oklab(60.61% -0.03 0.1172) |
| OKLCH | oklch(60.61% 0.121 104.4) |
| XYZ | xyz(19.7086, 22.5926, 4.1866) |
| Luminance | 0.2259 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.69
Baby Poop
#937C00
ΔE00 5.05
Diarrhea
#9F8303
ΔE00 6.00
Shit Green
#758000
ΔE00 6.54
Hazel
#8E7618
ΔE00 6.84
Swamp Green
#748500
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8518 #18218E
analogous
#8E4A18 #8E8518 #5C8E18
triadic
#8E8518 #188E85 #85188E
tetradic
#8E8518 #188E4A #18218E #8E185C
square
#8E8518 #188E4A #18218E #8E185C
split-complementary
#8E8518 #185C8E #4A188E
monochromatic
#252306 #5A540F #8E8518 #C2B621 #DFD341
Accessibility & contrast
On white
3.81
#8E8518 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#8E8518 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8518
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8518 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8518 | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#958522
Tritanopia (blue-blind)
#997B71
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8e8518; /* rgb */ color: rgb(142, 133, 24); /* oklch */ color: oklch(60.6% 0.121 104.4);
Tailwind
colors: {
custom: {
50: '#b3a861',
500: '#8e8518',
950: '#000000',
},
}SCSS
$custom: #8e8518; $custom-light: #b3a861; $custom-dark: #000000;
JSON
{
"hex": "#8e8518",
"rgb": {
"r": 142,
"g": 133,
"b": 24
},
"hsl": {
"h": 55.424,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.60612,
"c": 0.12099,
"h": 104.4
},
"luminance": 0.22592
}Semantic roles & 50–950 ramp
primary
#8E8518
secondary
#424CC0
accent
#48EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A