#8E802A#8E802A
#8E802A is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.106 H 99.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8E802A |
|---|---|
| RGB | rgb(142, 128, 42) |
| HSL | hsl(52, 54%, 36%) |
| HSV | hsv(52, 70%, 56%) |
| CMYK | cmyk(0%, 9.9%, 70.4%, 44.3%) |
| CIE-LAB | lab(53.34, -5.02, 46.54) |
| CIE-LCH | lch(53.34, 46.81, 96.16°) |
| OKLab | oklab(59.6% -0.0182 0.1042) |
| OKLCH | oklch(59.6% 0.106 99.9) |
| XYZ | xyz(19.2933, 21.3572, 5.2961) |
| Luminance | 0.2136 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.32
Hazel
#8E7618
ΔE00 4.62
Olive
#808000
ΔE00 5.35
Puke Brown
#947706
ΔE00 5.80
Diarrhea
#9F8303
ΔE00 5.88
Poo
#8F7303
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E802A #2A388E
analogous
#8E4E2A #8E802A #6A8E2A
triadic
#8E802A #2A8E80 #802A8E
tetradic
#8E802A #2A8E4E #2A388E #8E2A6A
square
#8E802A #2A8E4E #2A388E #8E2A6A
split-complementary
#8E802A #2A6A8E #4E2A8E
monochromatic
#302B0E #5F551C #8E802A #BDAB38 #D1C162
Accessibility & contrast
On white
3.98
#8E802A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#8E802A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E802A
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E802A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E802A | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C1E
Deuteranopia (green-blind)
#90822F
Tritanopia (blue-blind)
#99776F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8e802a; /* rgb */ color: rgb(142, 128, 42); /* oklch */ color: oklch(59.6% 0.106 99.9);
Tailwind
colors: {
custom: {
50: '#b2a469',
500: '#8e802a',
950: '#000000',
},
}SCSS
$custom: #8e802a; $custom-light: #b2a469; $custom-dark: #000000;
JSON
{
"hex": "#8e802a",
"rgb": {
"r": 142,
"g": 128,
"b": 42
},
"hsl": {
"h": 51.6,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.59604,
"c": 0.10581,
"h": 99.9
},
"luminance": 0.21356
}Semantic roles & 50–950 ramp
primary
#8E802A
secondary
#5D6AB6
accent
#5FDE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A