#8E8019#8E8019
#8E8019 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.116 H 101.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8019 |
|---|---|
| RGB | rgb(142, 128, 25) |
| HSL | hsl(53, 70%, 33%) |
| HSV | hsv(53, 82%, 56%) |
| CMYK | cmyk(0%, 9.9%, 82.4%, 44.3%) |
| CIE-LAB | lab(53.23, -5.80, 52.77) |
| CIE-LCH | lch(53.23, 53.09, 96.28°) |
| OKLab | oklab(59.49% -0.0221 0.1141) |
| OKLCH | oklch(59.49% 0.116 101) |
| XYZ | xyz(19.0509, 21.2602, 4.0197) |
| Luminance | 0.2126 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.23
Olive
#808000
ΔE00 4.45
Hazel
#8E7618
ΔE00 4.63
Diarrhea
#9F8303
ΔE00 5.04
Puke Brown
#947706
ΔE00 5.38
Ugly Brown
#7D7103
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8019 #19278E
analogous
#8E4619 #8E8019 #618E19
triadic
#8E8019 #198E80 #80198E
tetradic
#8E8019 #198E46 #19278E #8E1961
square
#8E8019 #198E46 #19278E #8E1961
split-complementary
#8E8019 #19618E #46198E
monochromatic
#262207 #5A5110 #8E8019 #C2AF22 #DECB43
Accessibility & contrast
On white
4.00
#8E8019 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#8E8019 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8019
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8019 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8019 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#9A766D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8e8019; /* rgb */ color: rgb(142, 128, 25); /* oklch */ color: oklch(59.5% 0.116 101.0);
Tailwind
colors: {
custom: {
50: '#b3a460',
500: '#8e8019',
950: '#000000',
},
}SCSS
$custom: #8e8019; $custom-light: #b3a460; $custom-dark: #000000;
JSON
{
"hex": "#8e8019",
"rgb": {
"r": 142,
"g": 128,
"b": 25
},
"hsl": {
"h": 52.821,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.59487,
"c": 0.11623,
"h": 101
},
"luminance": 0.21259
}Semantic roles & 50–950 ramp
primary
#8E8019
secondary
#4453BF
accent
#50ED3B
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A