#8E8D19#8E8D19
#8E8D19 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.128 H 109.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8D19 |
|---|---|
| RGB | rgb(142, 141, 25) |
| HSL | hsl(59, 70%, 33%) |
| HSV | hsv(59, 82%, 56%) |
| CMYK | cmyk(0%, 0.7%, 82.4%, 44.3%) |
| CIE-LAB | lab(56.95, -12.86, 56.01) |
| CIE-LCH | lch(56.95, 57.47, 102.93°) |
| OKLab | oklab(62.45% -0.0419 0.1211) |
| OKLCH | oklch(62.45% 0.128 109.1) |
| XYZ | xyz(20.8565, 24.8714, 4.6215) |
| Luminance | 0.2487 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop Green
#8F9805
ΔE00 4.21
Pea Soup
#929901
ΔE00 4.40
Baby Shit Green
#889717
ΔE00 4.73
Olive
#808000
ΔE00 4.86
Swamp Green
#748500
ΔE00 6.27
Shit Green
#758000
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8D19 #191A8E
analogous
#8E5219 #8E8D19 #558E19
triadic
#8E8D19 #198E8D #8D198E
tetradic
#8E8D19 #198E52 #191A8E #8E1955
square
#8E8D19 #198E52 #191A8E #8E1955
split-complementary
#8E8D19 #19558E #52198E
monochromatic
#262607 #5A5910 #8E8D19 #C2C122 #DEDD43
Accessibility & contrast
On white
3.52
#8E8D19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#8E8D19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8D19
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8D19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8D19 | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9B8A24
Tritanopia (blue-blind)
#998378
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #8e8d19; /* rgb */ color: rgb(142, 141, 25); /* oklch */ color: oklch(62.4% 0.128 109.1);
Tailwind
colors: {
custom: {
50: '#b3ae62',
500: '#8e8d19',
950: '#000000',
},
}SCSS
$custom: #8e8d19; $custom-light: #b3ae62; $custom-dark: #000000;
JSON
{
"hex": "#8e8d19",
"rgb": {
"r": 142,
"g": 141,
"b": 25
},
"hsl": {
"h": 59.487,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.62448,
"c": 0.12812,
"h": 109.1
},
"luminance": 0.24871
}Semantic roles & 50–950 ramp
primary
#8E8D19
secondary
#4445BF
accent
#3CED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A