#887E17#887E17
#887E17 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.116 H 103.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #887E17 |
|---|---|
| RGB | rgb(136, 126, 23) |
| HSL | hsl(55, 71%, 31%) |
| HSV | hsv(55, 83%, 53%) |
| CMYK | cmyk(0%, 7.4%, 83.1%, 46.7%) |
| CIE-LAB | lab(52.08, -7.56, 52.16) |
| CIE-LCH | lch(52.08, 52.70, 98.25°) |
| OKLab | oklab(58.44% -0.0269 0.1127) |
| OKLCH | oklch(58.44% 0.116 103.4) |
| XYZ | xyz(17.7697, 20.2186, 3.7770) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.18
Baby Poop
#937C00
ΔE00 4.33
Ugly Brown
#7D7103
ΔE00 4.98
Hazel
#8E7618
ΔE00 5.09
Shit Green
#758000
ΔE00 6.07
Puke Brown
#947706
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887E17 #172188
analogous
#884517 #887E17 #598817
triadic
#887E17 #17887E #7E1788
tetradic
#887E17 #178845 #172188 #881759
square
#887E17 #178845 #172188 #881759
split-complementary
#887E17 #175988 #451788
monochromatic
#1F1D05 #544D0E #887E17 #BCAE20 #DED03B
Accessibility & contrast
On white
4.16
#887E17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#887E17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887E17
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887E17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887E17 | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8D7E20
Tritanopia (blue-blind)
#93746B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #887e17; /* rgb */ color: rgb(136, 126, 23); /* oklch */ color: oklch(58.4% 0.116 103.4);
Tailwind
colors: {
custom: {
50: '#aea35f',
500: '#887e17',
950: '#000000',
},
}SCSS
$custom: #887e17; $custom-light: #aea35f; $custom-dark: #000000;
JSON
{
"hex": "#887e17",
"rgb": {
"r": 136,
"g": 126,
"b": 23
},
"hsl": {
"h": 54.69,
"s": 71.069,
"l": 31.176
},
"oklch": {
"l": 0.58435,
"c": 0.11584,
"h": 103.4
},
"luminance": 0.20218
}Semantic roles & 50–950 ramp
primary
#887E17
secondary
#3F4ABC
accent
#4AEE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79