#887F20#887F20
#887F20 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.112 H 103.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #887F20 |
|---|---|
| RGB | rgb(136, 127, 32) |
| HSL | hsl(55, 62%, 33%) |
| HSV | hsv(55, 76%, 53%) |
| CMYK | cmyk(0%, 6.6%, 76.5%, 46.7%) |
| CIE-LAB | lab(52.42, -7.75, 49.44) |
| CIE-LCH | lch(52.42, 50.05, 98.91°) |
| OKLab | oklab(58.72% -0.0266 0.1087) |
| OKLCH | oklch(58.72% 0.112 103.8) |
| XYZ | xyz(18.0042, 20.5180, 4.3782) |
| Luminance | 0.2052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.36
Baby Poop
#937C00
ΔE00 4.94
Hazel
#8E7618
ΔE00 5.45
Ugly Brown
#7D7103
ΔE00 5.46
Shit Green
#758000
ΔE00 5.97
Drab
#828344
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887F20 #202988
analogous
#884B20 #887F20 #5D8820
triadic
#887F20 #20887F #7F2088
tetradic
#887F20 #20884B #202988 #88205D
square
#887F20 #20884B #202988 #88205D
split-complementary
#887F20 #205D88 #4B2088
monochromatic
#252209 #565114 #887F20 #BAAD2C #D5C94D
Accessibility & contrast
On white
4.11
#887F20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#887F20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887F20
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887F20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887F20 | 1.00 | 4.11 | 5.10 | 5.10 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B0D
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#93766D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #887f20; /* rgb */ color: rgb(136, 127, 32); /* oklch */ color: oklch(58.7% 0.112 103.8);
Tailwind
colors: {
custom: {
50: '#aea363',
500: '#887f20',
950: '#000000',
},
}SCSS
$custom: #887f20; $custom-light: #aea363; $custom-dark: #000000;
JSON
{
"hex": "#887f20",
"rgb": {
"r": 136,
"g": 127,
"b": 32
},
"hsl": {
"h": 54.808,
"s": 61.905,
"l": 32.941
},
"oklch": {
"l": 0.58716,
"c": 0.1119,
"h": 103.8
},
"luminance": 0.20517
}Semantic roles & 50–950 ramp
primary
#887F20
secondary
#4C55B8
accent
#51E543
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A