#887F1F#887F1F
#887F1F is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.113 H 103.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #887F1F |
|---|---|
| RGB | rgb(136, 127, 31) |
| HSL | hsl(55, 63%, 33%) |
| HSV | hsv(55, 77%, 53%) |
| CMYK | cmyk(0%, 6.6%, 77.2%, 46.7%) |
| CIE-LAB | lab(52.41, -7.80, 49.80) |
| CIE-LCH | lch(52.41, 50.41, 98.90°) |
| OKLab | oklab(58.71% -0.0269 0.1093) |
| OKLCH | oklch(58.71% 0.113 103.8) |
| XYZ | xyz(17.9908, 20.5127, 4.3077) |
| Luminance | 0.2051 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.29
Baby Poop
#937C00
ΔE00 4.89
Ugly Brown
#7D7103
ΔE00 5.44
Hazel
#8E7618
ΔE00 5.45
Shit Green
#758000
ΔE00 5.94
Drab
#828344
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887F1F #1F2888
analogous
#884A1F #887F1F #5C881F
triadic
#887F1F #1F887F #7F1F88
tetradic
#887F1F #1F884A #1F2888 #881F5C
square
#887F1F #1F884A #1F2888 #881F5C
split-complementary
#887F1F #1F5C88 #4A1F88
monochromatic
#242208 #565014 #887F1F #BAAE2A #D6CA4B
Accessibility & contrast
On white
4.12
#887F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#887F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887F1F
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887F1F | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B0B
Deuteranopia (green-blind)
#8E7F26
Tritanopia (blue-blind)
#93766D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #887f1f; /* rgb */ color: rgb(136, 127, 31); /* oklch */ color: oklch(58.7% 0.113 103.8);
Tailwind
colors: {
custom: {
50: '#aea363',
500: '#887f1f',
950: '#000000',
},
}SCSS
$custom: #887f1f; $custom-light: #aea363; $custom-dark: #000000;
JSON
{
"hex": "#887f1f",
"rgb": {
"r": 136,
"g": 127,
"b": 31
},
"hsl": {
"h": 54.857,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.58709,
"c": 0.11251,
"h": 103.8
},
"luminance": 0.20512
}Semantic roles & 50–950 ramp
primary
#887F1F
secondary
#4A54B9
accent
#50E642
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A