#887A1F#887A1F
#887A1F is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.108 H 100.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #887A1F |
|---|---|
| RGB | rgb(136, 122, 31) |
| HSL | hsl(52, 63%, 33%) |
| HSV | hsv(52, 77%, 53%) |
| CMYK | cmyk(0%, 10.3%, 77.2%, 46.7%) |
| CIE-LAB | lab(50.98, -5.02, 48.46) |
| CIE-LCH | lch(50.98, 48.72, 95.92°) |
| OKLab | oklab(57.57% -0.019 0.1064) |
| OKLCH | oklch(57.57% 0.108 100.2) |
| XYZ | xyz(17.3610, 19.2531, 4.0978) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.41
Ugly Brown
#7D7103
ΔE00 3.99
Baby Poop
#937C00
ΔE00 4.02
Olive
#808000
ΔE00 5.03
Poo
#8F7303
ΔE00 5.07
Puke Brown
#947706
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887A1F #1F2D88
analogous
#88451F #887A1F #61881F
triadic
#887A1F #1F887A #7A1F88
tetradic
#887A1F #1F8845 #1F2D88 #881F61
square
#887A1F #1F8845 #1F2D88 #881F61
split-complementary
#887A1F #1F6188 #451F88
monochromatic
#242108 #564D14 #887A1F #BAA72A #D6C44B
Accessibility & contrast
On white
4.33
#887A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#887A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887A1F
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887A1F | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760D
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#937169
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #887a1f; /* rgb */ color: rgb(136, 122, 31); /* oklch */ color: oklch(57.6% 0.108 100.2);
Tailwind
colors: {
custom: {
50: '#aea062',
500: '#887a1f',
950: '#000000',
},
}SCSS
$custom: #887a1f; $custom-light: #aea062; $custom-dark: #000000;
JSON
{
"hex": "#887a1f",
"rgb": {
"r": 136,
"g": 122,
"b": 31
},
"hsl": {
"h": 52,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.57573,
"c": 0.10809,
"h": 100.2
},
"luminance": 0.19252
}Semantic roles & 50–950 ramp
primary
#887A1F
secondary
#4A59B9
accent
#58E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A