#8E892A#8E892A
#8E892A is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.114 H 106.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8E892A |
|---|---|
| RGB | rgb(142, 137, 42) |
| HSL | hsl(57, 54%, 36%) |
| HSV | hsv(57, 70%, 56%) |
| CMYK | cmyk(0%, 3.5%, 70.4%, 44.3%) |
| CIE-LAB | lab(55.90, -9.95, 49.12) |
| CIE-LCH | lch(55.90, 50.12, 101.45°) |
| OKLab | oklab(61.64% -0.0321 0.1097) |
| OKLCH | oklch(61.64% 0.114 106.3) |
| XYZ | xyz(20.5197, 23.8100, 5.7049) |
| Luminance | 0.2381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.60
Drab
#828344
ΔE00 6.18
Baby Poop Green
#8F9805
ΔE00 6.48
Shit Green
#758000
ΔE00 6.55
Baby Shit Green
#889717
ΔE00 6.61
Pea Soup
#929901
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E892A #2A2F8E
analogous
#8E572A #8E892A #618E2A
triadic
#8E892A #2A8E89 #892A8E
tetradic
#8E892A #2A8E57 #2A2F8E #8E2A61
square
#8E892A #2A8E57 #2A2F8E #8E2A61
split-complementary
#8E892A #2A618E #572A8E
monochromatic
#302E0E #5F5B1C #8E892A #BDB738 #D1CB62
Accessibility & contrast
On white
3.64
#8E892A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#8E892A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E892A
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E892A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E892A | 1.00 | 3.64 | 5.76 | 5.76 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#95841B
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#998076
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8e892a; /* rgb */ color: rgb(142, 137, 42); /* oklch */ color: oklch(61.6% 0.114 106.3);
Tailwind
colors: {
custom: {
50: '#b2ab6a',
500: '#8e892a',
950: '#000000',
},
}SCSS
$custom: #8e892a; $custom-light: #b2ab6a; $custom-dark: #000000;
JSON
{
"hex": "#8e892a",
"rgb": {
"r": 142,
"g": 137,
"b": 42
},
"hsl": {
"h": 57,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.61638,
"c": 0.11429,
"h": 106.3
},
"luminance": 0.23809
}Semantic roles & 50–950 ramp
primary
#8E892A
secondary
#5D62B6
accent
#51DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A