#8E8A2E#8E8A2E
#8E8A2E is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.112 H 106.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8A2E |
|---|---|
| RGB | rgb(142, 138, 46) |
| HSL | hsl(58, 51%, 37%) |
| HSV | hsv(58, 68%, 56%) |
| CMYK | cmyk(0%, 2.8%, 67.6%, 44.3%) |
| CIE-LAB | lab(56.21, -10.26, 47.78) |
| CIE-LCH | lch(56.21, 48.86, 102.12°) |
| OKLab | oklab(61.9% -0.0325 0.1075) |
| OKLCH | oklch(61.9% 0.112 106.8) |
| XYZ | xyz(20.7377, 24.1257, 6.1486) |
| Luminance | 0.2412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 5.00
Drab
#828344
ΔE00 5.85
Baby Poop Green
#8F9805
ΔE00 6.39
Baby Shit Green
#889717
ΔE00 6.39
Pea Soup
#929901
ΔE00 6.62
Shit Green
#758000
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8A2E #2E328E
analogous
#8E5A2E #8E8A2E #628E2E
triadic
#8E8A2E #2E8E8A #8A2E8E
tetradic
#8E8A2E #2E8E5A #2E328E #8E2E62
square
#8E8A2E #2E8E5A #2E328E #8E2E62
split-complementary
#8E8A2E #2E628E #5A2E8E
monochromatic
#323010 #605D1F #8E8A2E #BCB73D #CECA68
Accessibility & contrast
On white
3.61
#8E8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#8E8A2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8A2E
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8A2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8A2E | 1.00 | 3.61 | 5.83 | 5.83 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968521
Deuteranopia (green-blind)
#988834
Tritanopia (blue-blind)
#988177
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8e8a2e; /* rgb */ color: rgb(142, 138, 46); /* oklch */ color: oklch(61.9% 0.112 106.8);
Tailwind
colors: {
custom: {
50: '#b2ab6c',
500: '#8e8a2e',
950: '#000000',
},
}SCSS
$custom: #8e8a2e; $custom-light: #b2ab6c; $custom-dark: #000000;
JSON
{
"hex": "#8e8a2e",
"rgb": {
"r": 142,
"g": 138,
"b": 46
},
"hsl": {
"h": 57.5,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.619,
"c": 0.11236,
"h": 106.8
},
"luminance": 0.24125
}Semantic roles & 50–950 ramp
primary
#8E8A2E
secondary
#6366B5
accent
#53DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A