#8E882B#8E882B
#8E882B is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.113 H 105.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8E882B |
|---|---|
| RGB | rgb(142, 136, 43) |
| HSL | hsl(56, 54%, 36%) |
| HSV | hsv(56, 70%, 56%) |
| CMYK | cmyk(0%, 4.2%, 69.7%, 44.3%) |
| CIE-LAB | lab(55.62, -9.35, 48.43) |
| CIE-LCH | lch(55.62, 49.33, 100.93°) |
| OKLab | oklab(61.42% -0.0303 0.1084) |
| OKLCH | oklch(61.42% 0.113 105.6) |
| XYZ | xyz(20.3963, 23.5343, 5.7532) |
| Luminance | 0.2353 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.58
Drab
#828344
ΔE00 5.99
Shit Green
#758000
ΔE00 6.63
Baby Poop
#937C00
ΔE00 6.77
Baby Poop Green
#8F9805
ΔE00 6.94
Dark Khaki
#9B8F55
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E882B #2B318E
analogous
#8E572B #8E882B #638E2B
triadic
#8E882B #2B8E88 #882B8E
tetradic
#8E882B #2B8E57 #2B318E #8E2B63
square
#8E882B #2B8E57 #2B318E #8E2B63
split-complementary
#8E882B #2B638E #572B8E
monochromatic
#302E0F #5F5B1D #8E882B #BDB539 #D0C963
Accessibility & contrast
On white
3.68
#8E882B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#8E882B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E882B
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E882B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E882B | 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)
#94831D
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#997F75
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8e882b; /* rgb */ color: rgb(142, 136, 43); /* oklch */ color: oklch(61.4% 0.113 105.6);
Tailwind
colors: {
custom: {
50: '#b2aa6a',
500: '#8e882b',
950: '#000000',
},
}SCSS
$custom: #8e882b; $custom-light: #b2aa6a; $custom-dark: #000000;
JSON
{
"hex": "#8e882b",
"rgb": {
"r": 142,
"g": 136,
"b": 43
},
"hsl": {
"h": 56.364,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.61419,
"c": 0.11257,
"h": 105.6
},
"luminance": 0.23534
}Semantic roles & 50–950 ramp
primary
#8E882B
secondary
#5F64B6
accent
#54DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A