#8E882A#8E882A
#8E882A is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.113 H 105.7°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8E882A |
|---|---|
| RGB | rgb(142, 136, 42) |
| HSL | hsl(56, 54%, 36%) |
| HSV | hsv(56, 70%, 56%) |
| CMYK | cmyk(0%, 4.2%, 70.4%, 44.3%) |
| CIE-LAB | lab(55.61, -9.41, 48.84) |
| CIE-LCH | lch(55.61, 49.73, 100.91°) |
| OKLab | oklab(61.41% -0.0306 0.1091) |
| OKLCH | oklch(61.41% 0.113 105.7) |
| XYZ | xyz(20.3782, 23.5270, 5.6578) |
| Luminance | 0.2353 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.51
Drab
#828344
ΔE00 6.09
Shit Green
#758000
ΔE00 6.59
Baby Poop
#937C00
ΔE00 6.73
Baby Poop Green
#8F9805
ΔE00 6.87
Swamp Green
#748500
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E882A #2A308E
analogous
#8E562A #8E882A #628E2A
triadic
#8E882A #2A8E88 #882A8E
tetradic
#8E882A #2A8E56 #2A308E #8E2A62
square
#8E882A #2A8E56 #2A308E #8E2A62
split-complementary
#8E882A #2A628E #562A8E
monochromatic
#302E0E #5F5B1C #8E882A #BDB538 #D1CA62
Accessibility & contrast
On white
3.68
#8E882A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#8E882A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E882A
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E882A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E882A | 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)
#94831C
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#997F75
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8e882a; /* rgb */ color: rgb(142, 136, 42); /* oklch */ color: oklch(61.4% 0.113 105.7);
Tailwind
colors: {
custom: {
50: '#b2aa6a',
500: '#8e882a',
950: '#000000',
},
}SCSS
$custom: #8e882a; $custom-light: #b2aa6a; $custom-dark: #000000;
JSON
{
"hex": "#8e882a",
"rgb": {
"r": 142,
"g": 136,
"b": 42
},
"hsl": {
"h": 56.4,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.6141,
"c": 0.11329,
"h": 105.7
},
"luminance": 0.23526
}Semantic roles & 50–950 ramp
primary
#8E882A
secondary
#5D63B6
accent
#53DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A