#887E22#887E22
#887E22 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.110 H 103.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #887E22 |
|---|---|
| RGB | rgb(136, 126, 34) |
| HSL | hsl(54, 60%, 33%) |
| HSV | hsv(54, 75%, 53%) |
| CMYK | cmyk(0%, 7.4%, 75%, 46.7%) |
| CIE-LAB | lab(52.14, -7.10, 48.43) |
| CIE-LCH | lch(52.14, 48.95, 98.34°) |
| OKLab | oklab(58.5% -0.0246 0.1069) |
| OKLCH | oklch(58.5% 0.11 103) |
| XYZ | xyz(17.9037, 20.2722, 4.4829) |
| Luminance | 0.2027 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.79
Baby Poop
#937C00
ΔE00 4.81
Hazel
#8E7618
ΔE00 5.05
Ugly Brown
#7D7103
ΔE00 5.18
Shit Green
#758000
ΔE00 6.32
Drab
#828344
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887E22 #222C88
analogous
#884B22 #887E22 #5F8822
triadic
#887E22 #22887E #7E2288
tetradic
#887E22 #22884B #222C88 #88225F
square
#887E22 #22884B #222C88 #88225F
split-complementary
#887E22 #225F88 #4B2288
monochromatic
#26230A #575116 #887E22 #B9AB2E #D3C751
Accessibility & contrast
On white
4.15
#887E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#887E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887E22
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887E22 | 1.00 | 4.15 | 5.05 | 5.05 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#93756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #887e22; /* rgb */ color: rgb(136, 126, 34); /* oklch */ color: oklch(58.5% 0.110 103.0);
Tailwind
colors: {
custom: {
50: '#aea364',
500: '#887e22',
950: '#000000',
},
}SCSS
$custom: #887e22; $custom-light: #aea364; $custom-dark: #000000;
JSON
{
"hex": "#887e22",
"rgb": {
"r": 136,
"g": 126,
"b": 34
},
"hsl": {
"h": 54.118,
"s": 60,
"l": 33.333
},
"oklch": {
"l": 0.58502,
"c": 0.10973,
"h": 103
},
"luminance": 0.20271
}Semantic roles & 50–950 ramp
primary
#887E22
secondary
#4F59B7
accent
#54E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A