#887F26#887F26
#887F26 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.108 H 103.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #887F26 |
|---|---|
| RGB | rgb(136, 127, 38) |
| HSL | hsl(54, 56%, 34%) |
| HSV | hsv(54, 72%, 53%) |
| CMYK | cmyk(0%, 6.6%, 72.1%, 46.7%) |
| CIE-LAB | lab(52.46, -7.45, 47.15) |
| CIE-LCH | lch(52.46, 47.73, 98.98°) |
| OKLab | oklab(58.76% -0.0251 0.105) |
| OKLCH | oklch(58.76% 0.108 103.5) |
| XYZ | xyz(18.0933, 20.5537, 4.8475) |
| Luminance | 0.2055 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.86
Baby Poop
#937C00
ΔE00 5.29
Hazel
#8E7618
ΔE00 5.50
Ugly Brown
#7D7103
ΔE00 5.66
Drab
#828344
ΔE00 5.79
Shit Green
#758000
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887F26 #262F88
analogous
#884E26 #887F26 #608826
triadic
#887F26 #26887F #7F2688
tetradic
#887F26 #26884E #262F88 #882660
square
#887F26 #26884E #262F88 #882660
split-complementary
#887F26 #266088 #4E2688
monochromatic
#28260B #585219 #887F26 #B8AC33 #D0C558
Accessibility & contrast
On white
4.11
#887F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#887F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887F26
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887F26 | 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)
#8B7B18
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#92766D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #887f26; /* rgb */ color: rgb(136, 127, 38); /* oklch */ color: oklch(58.8% 0.108 103.5);
Tailwind
colors: {
custom: {
50: '#aea366',
500: '#887f26',
950: '#000000',
},
}SCSS
$custom: #887f26; $custom-light: #aea366; $custom-dark: #000000;
JSON
{
"hex": "#887f26",
"rgb": {
"r": 136,
"g": 127,
"b": 38
},
"hsl": {
"h": 54.49,
"s": 56.322,
"l": 34.118
},
"oklch": {
"l": 0.5876,
"c": 0.10796,
"h": 103.5
},
"luminance": 0.20553
}Semantic roles & 50–950 ramp
primary
#887F26
secondary
#555EB5
accent
#56E048
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A