#8E882E#8E882E
#8E882E is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.4% C 0.110 H 105.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8E882E |
|---|---|
| RGB | rgb(142, 136, 46) |
| HSL | hsl(56, 51%, 37%) |
| HSV | hsv(56, 68%, 56%) |
| CMYK | cmyk(0%, 4.2%, 67.6%, 44.3%) |
| CIE-LAB | lab(55.64, -9.17, 47.19) |
| CIE-LCH | lch(55.64, 48.07, 101.00°) |
| OKLab | oklab(61.45% -0.0295 0.1063) |
| OKLCH | oklch(61.45% 0.11 105.5) |
| XYZ | xyz(20.4534, 23.5571, 6.0538) |
| Luminance | 0.2356 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.82
Drab
#828344
ΔE00 5.65
Dark Khaki
#9B8F55
ΔE00 6.68
Shit Green
#758000
ΔE00 6.76
Baby Poop
#937C00
ΔE00 6.94
Baby Poop Green
#8F9805
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E882E #2E348E
analogous
#8E582E #8E882E #648E2E
triadic
#8E882E #2E8E88 #882E8E
tetradic
#8E882E #2E8E58 #2E348E #8E2E64
square
#8E882E #2E8E58 #2E348E #8E2E64
split-complementary
#8E882E #2E648E #582E8E
monochromatic
#322F10 #605C1F #8E882E #BCB43D #CEC868
Accessibility & contrast
On white
3.68
#8E882E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#8E882E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E882E
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E882E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E882E | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#968734
Tritanopia (blue-blind)
#987F76
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8e882e; /* rgb */ color: rgb(142, 136, 46); /* oklch */ color: oklch(61.4% 0.110 105.5);
Tailwind
colors: {
custom: {
50: '#b2aa6c',
500: '#8e882e',
950: '#000000',
},
}SCSS
$custom: #8e882e; $custom-light: #b2aa6c; $custom-dark: #000000;
JSON
{
"hex": "#8e882e",
"rgb": {
"r": 142,
"g": 136,
"b": 46
},
"hsl": {
"h": 56.25,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.61445,
"c": 0.11031,
"h": 105.5
},
"luminance": 0.23556
}Semantic roles & 50–950 ramp
primary
#8E882E
secondary
#6368B5
accent
#56DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A