#8E8A28#8E8A28
#8E8A28 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.117 H 107.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8A28 |
|---|---|
| RGB | rgb(142, 138, 40) |
| HSL | hsl(58, 56%, 36%) |
| HSV | hsv(58, 72%, 56%) |
| CMYK | cmyk(0%, 2.8%, 71.8%, 44.3%) |
| CIE-LAB | lab(56.17, -10.60, 50.19) |
| CIE-LCH | lch(56.17, 51.30, 101.93°) |
| OKLab | oklab(61.85% -0.0342 0.1116) |
| OKLCH | oklch(61.85% 0.117 107) |
| XYZ | xyz(20.6276, 24.0816, 5.5687) |
| Luminance | 0.2408 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.61
Baby Poop Green
#8F9805
ΔE00 5.97
Baby Shit Green
#889717
ΔE00 6.13
Pea Soup
#929901
ΔE00 6.18
Shit Green
#758000
ΔE00 6.48
Drab
#828344
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8A28 #282C8E
analogous
#8E5728 #8E8A28 #5F8E28
triadic
#8E8A28 #288E8A #8A288E
tetradic
#8E8A28 #288E57 #282C8E #8E285F
square
#8E8A28 #288E57 #282C8E #8E285F
split-complementary
#8E8A28 #285F8E #57288E
monochromatic
#2F2D0D #5E5C1B #8E8A28 #BEB835 #D2CD5F
Accessibility & contrast
On white
3.61
#8E8A28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#8E8A28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8A28
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8A28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8A28 | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968518
Deuteranopia (green-blind)
#98882F
Tritanopia (blue-blind)
#998177
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8e8a28; /* rgb */ color: rgb(142, 138, 40); /* oklch */ color: oklch(61.9% 0.117 107.0);
Tailwind
colors: {
custom: {
50: '#b2ab69',
500: '#8e8a28',
950: '#000000',
},
}SCSS
$custom: #8e8a28; $custom-light: #b2ab69; $custom-dark: #000000;
JSON
{
"hex": "#8e8a28",
"rgb": {
"r": 142,
"g": 138,
"b": 40
},
"hsl": {
"h": 57.647,
"s": 56.044,
"l": 35.686
},
"oklch": {
"l": 0.61851,
"c": 0.11669,
"h": 107
},
"luminance": 0.24081
}Semantic roles & 50–950 ramp
primary
#8E8A28
secondary
#5B5EB7
accent
#4EDF48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A