#8E882D#8E882D
#8E882D is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.111 H 105.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8E882D |
|---|---|
| RGB | rgb(142, 136, 45) |
| HSL | hsl(56, 52%, 37%) |
| HSV | hsv(56, 68%, 56%) |
| CMYK | cmyk(0%, 4.2%, 68.3%, 44.3%) |
| CIE-LAB | lab(55.63, -9.24, 47.61) |
| CIE-LCH | lch(55.63, 48.49, 100.98°) |
| OKLab | oklab(61.44% -0.0298 0.107) |
| OKLCH | oklch(61.44% 0.111 105.6) |
| XYZ | xyz(20.4339, 23.5493, 5.9512) |
| Luminance | 0.2355 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.74
Drab
#828344
ΔE00 5.77
Shit Green
#758000
ΔE00 6.71
Dark Khaki
#9B8F55
ΔE00 6.79
Baby Poop
#937C00
ΔE00 6.88
Baby Poop Green
#8F9805
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E882D #2D338E
analogous
#8E582D #8E882D #648E2D
triadic
#8E882D #2D8E88 #882D8E
tetradic
#8E882D #2D8E58 #2D338E #8E2D64
square
#8E882D #2D8E58 #2D338E #8E2D64
split-complementary
#8E882D #2D648E #582D8E
monochromatic
#312F10 #605B1E #8E882D #BCB53C #CFC867
Accessibility & contrast
On white
3.68
#8E882D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#8E882D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E882D
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E882D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E882D | 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)
#948320
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#987F75
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8e882d; /* rgb */ color: rgb(142, 136, 45); /* oklch */ color: oklch(61.4% 0.111 105.6);
Tailwind
colors: {
custom: {
50: '#b2aa6b',
500: '#8e882d',
950: '#000000',
},
}SCSS
$custom: #8e882d; $custom-light: #b2aa6b; $custom-dark: #000000;
JSON
{
"hex": "#8e882d",
"rgb": {
"r": 142,
"g": 136,
"b": 45
},
"hsl": {
"h": 56.289,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.61436,
"c": 0.11108,
"h": 105.6
},
"luminance": 0.23549
}Semantic roles & 50–950 ramp
primary
#8E882D
secondary
#6167B5
accent
#55DB4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A