#8E8B19#8E8B19
#8E8B19 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 62.0% C 0.126 H 108.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8B19 |
|---|---|
| RGB | rgb(142, 139, 25) |
| HSL | hsl(58, 70%, 33%) |
| HSV | hsv(58, 82%, 56%) |
| CMYK | cmyk(0%, 2.1%, 82.4%, 44.3%) |
| CIE-LAB | lab(56.37, -11.79, 55.51) |
| CIE-LCH | lch(56.37, 56.75, 101.99°) |
| OKLab | oklab(61.99% -0.0389 0.12) |
| OKLCH | oklch(61.99% 0.126 108) |
| XYZ | xyz(20.5643, 24.2869, 4.5241) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.37
Baby Poop Green
#8F9805
ΔE00 4.99
Pea Soup
#929901
ΔE00 5.14
Baby Shit Green
#889717
ΔE00 5.51
Shit Green
#758000
ΔE00 6.35
Swamp Green
#748500
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8B19 #191C8E
analogous
#8E5119 #8E8B19 #568E19
triadic
#8E8B19 #198E8B #8B198E
tetradic
#8E8B19 #198E51 #191C8E #8E1956
square
#8E8B19 #198E51 #191C8E #8E1956
split-complementary
#8E8B19 #19568E #51198E
monochromatic
#262507 #5A5810 #8E8B19 #C2BE22 #DEDA43
Accessibility & contrast
On white
3.59
#8E8B19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#8E8B19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8B19
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8B19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8B19 | 1.00 | 3.59 | 5.86 | 5.86 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#998176
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8e8b19; /* rgb */ color: rgb(142, 139, 25); /* oklch */ color: oklch(62.0% 0.126 108.0);
Tailwind
colors: {
custom: {
50: '#b3ac62',
500: '#8e8b19',
950: '#000000',
},
}SCSS
$custom: #8e8b19; $custom-light: #b3ac62; $custom-dark: #000000;
JSON
{
"hex": "#8e8b19",
"rgb": {
"r": 142,
"g": 139,
"b": 25
},
"hsl": {
"h": 58.462,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.61988,
"c": 0.12615,
"h": 108
},
"luminance": 0.24286
}Semantic roles & 50–950 ramp
primary
#8E8B19
secondary
#4447BF
accent
#40ED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A