#887F29#887F29
#887F29 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.106 H 103.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #887F29 |
|---|---|
| RGB | rgb(136, 127, 41) |
| HSL | hsl(54, 54%, 35%) |
| HSV | hsv(54, 70%, 53%) |
| CMYK | cmyk(0%, 6.6%, 69.9%, 46.7%) |
| CIE-LAB | lab(52.48, -7.28, 45.91) |
| CIE-LCH | lch(52.48, 46.49, 99.01°) |
| OKLab | oklab(58.79% -0.0243 0.1029) |
| OKLCH | oklch(58.79% 0.106 103.3) |
| XYZ | xyz(18.1437, 20.5738, 5.1128) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.16
Drab
#828344
ΔE00 5.46
Baby Poop
#937C00
ΔE00 5.51
Hazel
#8E7618
ΔE00 5.56
Ugly Brown
#7D7103
ΔE00 5.80
Shit Green
#758000
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887F29 #293288
analogous
#885029 #887F29 #618829
triadic
#887F29 #29887F #7F2988
tetradic
#887F29 #298850 #293288 #882961
square
#887F29 #298850 #293288 #882961
split-complementary
#887F29 #296188 #502988
monochromatic
#2A270D #59531B #887F29 #B7AB37 #CEC45D
Accessibility & contrast
On white
4.11
#887F29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#887F29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887F29
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887F29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887F29 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#8D7F2E
Tritanopia (blue-blind)
#92766E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #887f29; /* rgb */ color: rgb(136, 127, 41); /* oklch */ color: oklch(58.8% 0.106 103.3);
Tailwind
colors: {
custom: {
50: '#aea368',
500: '#887f29',
950: '#000000',
},
}SCSS
$custom: #887f29; $custom-light: #aea368; $custom-dark: #000000;
JSON
{
"hex": "#887f29",
"rgb": {
"r": 136,
"g": 127,
"b": 41
},
"hsl": {
"h": 54.316,
"s": 53.672,
"l": 34.706
},
"oklch": {
"l": 0.58785,
"c": 0.10578,
"h": 103.3
},
"luminance": 0.20573
}Semantic roles & 50–950 ramp
primary
#887F29
secondary
#5962B4
accent
#59DD4B
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A