#887F34#887F34
#887F34 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.097 H 102.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #887F34 |
|---|---|
| RGB | rgb(136, 127, 52) |
| HSL | hsl(54, 45%, 37%) |
| HSV | hsv(54, 62%, 53%) |
| CMYK | cmyk(0%, 6.6%, 61.8%, 46.7%) |
| CIE-LAB | lab(52.58, -6.54, 41.01) |
| CIE-LCH | lch(52.58, 41.53, 99.06°) |
| OKLab | oklab(58.89% -0.0209 0.0943) |
| OKLCH | oklch(58.89% 0.097 102.5) |
| XYZ | xyz(18.3632, 20.6616, 6.2689) |
| Luminance | 0.2066 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.26
Olive
#808000
ΔE00 5.58
Hazel
#8E7618
ΔE00 6.07
Baby Poop
#937C00
ΔE00 6.58
Ugly Brown
#7D7103
ΔE00 6.63
Dark Khaki
#9B8F55
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#887F34 #343D88
analogous
#885534 #887F34 #678834
triadic
#887F34 #34887F #7F3488
tetradic
#887F34 #348855 #343D88 #883467
square
#887F34 #348855 #343D88 #883467
split-complementary
#887F34 #346788 #553488
monochromatic
#2F2C12 #5C5623 #887F34 #B4A845 #C8BE6F
Accessibility & contrast
On white
4.09
#887F34 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#887F34 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #887F34
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##887F34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##887F34 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7B2C
Deuteranopia (green-blind)
#8D7F38
Tritanopia (blue-blind)
#92776F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #887f34; /* rgb */ color: rgb(136, 127, 52); /* oklch */ color: oklch(58.9% 0.097 102.5);
Tailwind
colors: {
custom: {
50: '#ada36f',
500: '#887f34',
950: '#000000',
},
}SCSS
$custom: #887f34; $custom-light: #ada36f; $custom-dark: #000000;
JSON
{
"hex": "#887f34",
"rgb": {
"r": 136,
"g": 127,
"b": 52
},
"hsl": {
"h": 53.571,
"s": 44.681,
"l": 36.863
},
"oklch": {
"l": 0.58893,
"c": 0.0966,
"h": 102.5
},
"luminance": 0.20661
}Semantic roles & 50–950 ramp
primary
#887F34
secondary
#6870B0
accent
#61D453
background
#FAFAF6
surface
#F5F3EC
border
#CFCDC7
text
#100F07
muted
#7F7F7A