#887F28#887F28
#887F28 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.107 H 103.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #887F28 |
|---|---|
| RGB | rgb(136, 127, 40) |
| HSL | hsl(54, 55%, 35%) |
| HSV | hsv(54, 71%, 53%) |
| CMYK | cmyk(0%, 6.6%, 70.6%, 46.7%) |
| CIE-LAB | lab(52.47, -7.34, 46.33) |
| CIE-LCH | lch(52.47, 46.91, 99.00°) |
| OKLab | oklab(58.78% -0.0246 0.1036) |
| OKLCH | oklch(58.78% 0.107 103.4) |
| XYZ | xyz(18.1265, 20.5669, 5.0221) |
| Luminance | 0.2057 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.06
Baby Poop
#937C00
ΔE00 5.43
Hazel
#8E7618
ΔE00 5.54
Drab
#828344
ΔE00 5.57
Ugly Brown
#7D7103
ΔE00 5.75
Shit Green
#758000
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887F28 #283188
analogous
#884F28 #887F28 #618828
triadic
#887F28 #28887F #7F2888
tetradic
#887F28 #28884F #283188 #882861
square
#887F28 #28884F #283188 #882861
split-complementary
#887F28 #286188 #4F2888
monochromatic
#29270C #59531A #887F28 #B7AB36 #CFC45B
Accessibility & contrast
On white
4.11
#887F28 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#887F28 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887F28
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887F28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887F28 | 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)
#8B7B1B
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#92766D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #887f28; /* rgb */ color: rgb(136, 127, 40); /* oklch */ color: oklch(58.8% 0.107 103.4);
Tailwind
colors: {
custom: {
50: '#aea367',
500: '#887f28',
950: '#000000',
},
}SCSS
$custom: #887f28; $custom-light: #aea367; $custom-dark: #000000;
JSON
{
"hex": "#887f28",
"rgb": {
"r": 136,
"g": 127,
"b": 40
},
"hsl": {
"h": 54.375,
"s": 54.545,
"l": 34.51
},
"oklch": {
"l": 0.58776,
"c": 0.10651,
"h": 103.4
},
"luminance": 0.20566
}Semantic roles & 50–950 ramp
primary
#887F28
secondary
#5860B4
accent
#58DE4A
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A