#8E8023#8E8023
#8E8023 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.5% C 0.111 H 100.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8023 |
|---|---|
| RGB | rgb(142, 128, 35) |
| HSL | hsl(52, 60%, 35%) |
| HSV | hsv(52, 75%, 56%) |
| CMYK | cmyk(0%, 9.9%, 75.4%, 44.3%) |
| CIE-LAB | lab(53.29, -5.39, 49.34) |
| CIE-LCH | lch(53.29, 49.63, 96.23°) |
| OKLab | oklab(59.55% -0.02 0.1088) |
| OKLCH | oklch(59.55% 0.111 100.4) |
| XYZ | xyz(19.1788, 21.3114, 4.6931) |
| Luminance | 0.2131 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 3.74
Hazel
#8E7618
ΔE00 4.53
Olive
#808000
ΔE00 4.86
Diarrhea
#9F8303
ΔE00 5.44
Puke Brown
#947706
ΔE00 5.53
Ugly Brown
#7D7103
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8023 #23318E
analogous
#8E4B23 #8E8023 #668E23
triadic
#8E8023 #238E80 #80238E
tetradic
#8E8023 #238E4B #23318E #8E2366
square
#8E8023 #238E4B #23318E #8E2366
split-complementary
#8E8023 #23668E #4B238E
monochromatic
#2C270B #5D5417 #8E8023 #BFAC2F #D5C556
Accessibility & contrast
On white
3.99
#8E8023 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#8E8023 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8023
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8023 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8023 | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C12
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#99766E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8e8023; /* rgb */ color: rgb(142, 128, 35); /* oklch */ color: oklch(59.5% 0.111 100.4);
Tailwind
colors: {
custom: {
50: '#b2a465',
500: '#8e8023',
950: '#000000',
},
}SCSS
$custom: #8e8023; $custom-light: #b2a465; $custom-dark: #000000;
JSON
{
"hex": "#8e8023",
"rgb": {
"r": 142,
"g": 128,
"b": 35
},
"hsl": {
"h": 52.15,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.59549,
"c": 0.11063,
"h": 100.4
},
"luminance": 0.2131
}Semantic roles & 50–950 ramp
primary
#8E8023
secondary
#5361B9
accent
#59E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A