#887D1F#887D1F
#887D1F is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.111 H 102.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #887D1F |
|---|---|
| RGB | rgb(136, 125, 31) |
| HSL | hsl(54, 63%, 33%) |
| HSV | hsv(54, 77%, 53%) |
| CMYK | cmyk(0%, 8.1%, 77.2%, 46.7%) |
| CIE-LAB | lab(51.84, -6.69, 49.27) |
| CIE-LCH | lch(51.84, 49.72, 97.73°) |
| OKLab | oklab(58.25% -0.0238 0.1081) |
| OKLCH | oklch(58.25% 0.111 102.4) |
| XYZ | xyz(17.7351, 20.0012, 4.2225) |
| Luminance | 0.2000 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.90
Baby Poop
#937C00
ΔE00 4.43
Hazel
#8E7618
ΔE00 4.62
Ugly Brown
#7D7103
ΔE00 4.78
Puke Brown
#947706
ΔE00 6.03
Poo
#8F7303
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887D1F #1F2A88
analogous
#88481F #887D1F #5F881F
triadic
#887D1F #1F887D #7D1F88
tetradic
#887D1F #1F8848 #1F2A88 #881F5F
square
#887D1F #1F8848 #1F2A88 #881F5F
split-complementary
#887D1F #1F5F88 #481F88
monochromatic
#242108 #564F14 #887D1F #BAAB2A #D6C84B
Accessibility & contrast
On white
4.20
#887D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#887D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887D1F
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887D1F | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#93746B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #887d1f; /* rgb */ color: rgb(136, 125, 31); /* oklch */ color: oklch(58.3% 0.111 102.4);
Tailwind
colors: {
custom: {
50: '#aea263',
500: '#887d1f',
950: '#000000',
},
}SCSS
$custom: #887d1f; $custom-light: #aea263; $custom-dark: #000000;
JSON
{
"hex": "#887d1f",
"rgb": {
"r": 136,
"g": 125,
"b": 31
},
"hsl": {
"h": 53.714,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.58253,
"c": 0.11069,
"h": 102.4
},
"luminance": 0.2
}Semantic roles & 50–950 ramp
primary
#887D1F
secondary
#4A56B9
accent
#53E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A