#887E20#887E20
#887E20 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.111 H 103.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #887E20 |
|---|---|
| RGB | rgb(136, 126, 32) |
| HSL | hsl(54, 62%, 33%) |
| HSV | hsv(54, 76%, 53%) |
| CMYK | cmyk(0%, 7.4%, 76.5%, 46.7%) |
| CIE-LAB | lab(52.13, -7.20, 49.17) |
| CIE-LCH | lch(52.13, 49.70, 98.33°) |
| OKLab | oklab(58.49% -0.0251 0.1081) |
| OKLCH | oklch(58.49% 0.111 103.1) |
| XYZ | xyz(17.8757, 20.2610, 4.3354) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.64
Baby Poop
#937C00
ΔE00 4.70
Hazel
#8E7618
ΔE00 5.04
Ugly Brown
#7D7103
ΔE00 5.12
Shit Green
#758000
ΔE00 6.25
Puke Brown
#947706
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887E20 #202A88
analogous
#884A20 #887E20 #5E8820
triadic
#887E20 #20887E #7E2088
tetradic
#887E20 #20884A #202A88 #88205E
square
#887E20 #20884A #202A88 #88205E
split-complementary
#887E20 #205E88 #4A2088
monochromatic
#252209 #565014 #887E20 #BAAC2C #D5C84D
Accessibility & contrast
On white
4.16
#887E20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#887E20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887E20
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887E20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887E20 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 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)
#8A7A0D
Deuteranopia (green-blind)
#8D7E27
Tritanopia (blue-blind)
#93756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #887e20; /* rgb */ color: rgb(136, 126, 32); /* oklch */ color: oklch(58.5% 0.111 103.1);
Tailwind
colors: {
custom: {
50: '#aea363',
500: '#887e20',
950: '#000000',
},
}SCSS
$custom: #887e20; $custom-light: #aea363; $custom-dark: #000000;
JSON
{
"hex": "#887e20",
"rgb": {
"r": 136,
"g": 126,
"b": 32
},
"hsl": {
"h": 54.231,
"s": 61.905,
"l": 32.941
},
"oklch": {
"l": 0.58488,
"c": 0.11098,
"h": 103.1
},
"luminance": 0.2026
}Semantic roles & 50–950 ramp
primary
#887E20
secondary
#4C56B8
accent
#52E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A