#887E1F#887E1F
#887E1F is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.112 H 103.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #887E1F |
|---|---|
| RGB | rgb(136, 126, 31) |
| HSL | hsl(54, 63%, 33%) |
| HSV | hsv(54, 77%, 53%) |
| CMYK | cmyk(0%, 7.4%, 77.2%, 46.7%) |
| CIE-LAB | lab(52.13, -7.24, 49.53) |
| CIE-LCH | lch(52.13, 50.06, 98.32°) |
| OKLab | oklab(58.48% -0.0253 0.1087) |
| OKLCH | oklch(58.48% 0.112 103.1) |
| XYZ | xyz(17.8623, 20.2556, 4.2649) |
| Luminance | 0.2026 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.58
Baby Poop
#937C00
ΔE00 4.64
Hazel
#8E7618
ΔE00 5.04
Ugly Brown
#7D7103
ΔE00 5.10
Shit Green
#758000
ΔE00 6.22
Puke Brown
#947706
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887E1F #1F2988
analogous
#884A1F #887E1F #5D881F
triadic
#887E1F #1F887E #7E1F88
tetradic
#887E1F #1F884A #1F2988 #881F5D
square
#887E1F #1F884A #1F2988 #881F5D
split-complementary
#887E1F #1F5D88 #4A1F88
monochromatic
#242208 #565014 #887E1F #BAAC2A #D6C94B
Accessibility & contrast
On white
4.16
#887E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#887E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887E1F
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887E1F | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A0B
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#93756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #887e1f; /* rgb */ color: rgb(136, 126, 31); /* oklch */ color: oklch(58.5% 0.112 103.1);
Tailwind
colors: {
custom: {
50: '#aea363',
500: '#887e1f',
950: '#000000',
},
}SCSS
$custom: #887e1f; $custom-light: #aea363; $custom-dark: #000000;
JSON
{
"hex": "#887e1f",
"rgb": {
"r": 136,
"g": 126,
"b": 31
},
"hsl": {
"h": 54.286,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.58481,
"c": 0.11159,
"h": 103.1
},
"luminance": 0.20255
}Semantic roles & 50–950 ramp
primary
#887E1F
secondary
#4A55B9
accent
#51E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A