#8E8A2A#8E8A2A
#8E8A2A is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.115 H 107.0°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8A2A |
|---|---|
| RGB | rgb(142, 138, 42) |
| HSL | hsl(58, 54%, 36%) |
| HSV | hsv(58, 70%, 56%) |
| CMYK | cmyk(0%, 2.8%, 70.4%, 44.3%) |
| CIE-LAB | lab(56.18, -10.49, 49.41) |
| CIE-LCH | lch(56.18, 50.51, 101.99°) |
| OKLab | oklab(61.87% -0.0337 0.1103) |
| OKLCH | oklch(61.87% 0.115 107) |
| XYZ | xyz(20.6625, 24.0956, 5.7525) |
| Luminance | 0.2409 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.73
Baby Poop Green
#8F9805
ΔE00 6.10
Baby Shit Green
#889717
ΔE00 6.21
Drab
#828344
ΔE00 6.28
Pea Soup
#929901
ΔE00 6.32
Shit Green
#758000
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8A2A #2A2E8E
analogous
#8E582A #8E8A2A #608E2A
triadic
#8E8A2A #2A8E8A #8A2A8E
tetradic
#8E8A2A #2A8E58 #2A2E8E #8E2A60
square
#8E8A2A #2A8E58 #2A2E8E #8E2A60
split-complementary
#8E8A2A #2A608E #582A8E
monochromatic
#302E0E #5F5C1C #8E8A2A #BDB838 #D1CC62
Accessibility & contrast
On white
3.61
#8E8A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#8E8A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8A2A
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8A2A | 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)
#96851B
Deuteranopia (green-blind)
#988831
Tritanopia (blue-blind)
#988177
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8e8a2a; /* rgb */ color: rgb(142, 138, 42); /* oklch */ color: oklch(61.9% 0.115 107.0);
Tailwind
colors: {
custom: {
50: '#b2ab6a',
500: '#8e8a2a',
950: '#000000',
},
}SCSS
$custom: #8e8a2a; $custom-light: #b2ab6a; $custom-dark: #000000;
JSON
{
"hex": "#8e8a2a",
"rgb": {
"r": 142,
"g": 138,
"b": 42
},
"hsl": {
"h": 57.6,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.61866,
"c": 0.1153,
"h": 107
},
"luminance": 0.24095
}Semantic roles & 50–950 ramp
primary
#8E8A2A
secondary
#5D61B6
accent
#50DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A