#8E8A2B#8E8A2B
#8E8A2B is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.9% C 0.115 H 106.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8A2B |
|---|---|
| RGB | rgb(142, 138, 43) |
| HSL | hsl(58, 54%, 36%) |
| HSV | hsv(58, 70%, 56%) |
| CMYK | cmyk(0%, 2.8%, 69.7%, 44.3%) |
| CIE-LAB | lab(56.19, -10.44, 49.01) |
| CIE-LCH | lch(56.19, 50.11, 102.02°) |
| OKLab | oklab(61.88% -0.0334 0.1096) |
| OKLCH | oklch(61.88% 0.115 106.9) |
| XYZ | xyz(20.6806, 24.1029, 5.8480) |
| Luminance | 0.2410 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.79
Baby Poop Green
#8F9805
ΔE00 6.17
Drab
#828344
ΔE00 6.18
Baby Shit Green
#889717
ΔE00 6.25
Pea Soup
#929901
ΔE00 6.39
Shit Green
#758000
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8A2B #2B2F8E
analogous
#8E592B #8E8A2B #618E2B
triadic
#8E8A2B #2B8E8A #8A2B8E
tetradic
#8E8A2B #2B8E59 #2B2F8E #8E2B61
square
#8E8A2B #2B8E59 #2B2F8E #8E2B61
split-complementary
#8E8A2B #2B618E #592B8E
monochromatic
#302F0F #5F5C1D #8E8A2B #BDB839 #D0CC63
Accessibility & contrast
On white
3.61
#8E8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#8E8A2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8A2B
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8A2B | 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)
#96851D
Deuteranopia (green-blind)
#988831
Tritanopia (blue-blind)
#988177
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8e8a2b; /* rgb */ color: rgb(142, 138, 43); /* oklch */ color: oklch(61.9% 0.115 106.9);
Tailwind
colors: {
custom: {
50: '#b2ab6a',
500: '#8e8a2b',
950: '#000000',
},
}SCSS
$custom: #8e8a2b; $custom-light: #b2ab6a; $custom-dark: #000000;
JSON
{
"hex": "#8e8a2b",
"rgb": {
"r": 142,
"g": 138,
"b": 43
},
"hsl": {
"h": 57.576,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.61875,
"c": 0.11459,
"h": 106.9
},
"luminance": 0.24102
}Semantic roles & 50–950 ramp
primary
#8E8A2B
secondary
#5F62B6
accent
#51DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A