#877F41#877F41
#877F41 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.0% C 0.084 H 102.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #877F41 |
|---|---|
| RGB | rgb(135, 127, 65) |
| HSL | hsl(53, 35%, 39%) |
| HSV | hsv(53, 52%, 53%) |
| CMYK | cmyk(0%, 5.9%, 51.9%, 47.1%) |
| CIE-LAB | lab(52.63, -5.88, 34.49) |
| CIE-LCH | lch(52.63, 34.99, 99.67°) |
| OKLab | oklab(58.96% -0.0174 0.0818) |
| OKLCH | oklch(58.96% 0.084 102) |
| XYZ | xyz(18.5357, 20.7119, 8.0214) |
| Luminance | 0.2071 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.12
Dark Khaki
#9B8F55
ΔE00 6.34
Olive Drab
#6F7632
ΔE00 6.86
Hazel
#8E7618
ΔE00 7.55
Olive
#808000
ΔE00 7.70
Ugly Brown
#7D7103
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877F41 #414987
analogous
#875C41 #877F41 #6C8741
triadic
#877F41 #41877F #7F4187
tetradic
#877F41 #41875C #414987 #87416C
square
#877F41 #41875C #414987 #87416C
split-complementary
#877F41 #416C87 #5C4187
monochromatic
#343119 #5E582D #877F41 #AEA457 #C2BB80
Accessibility & contrast
On white
4.08
#877F41 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#877F41 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877F41
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877F41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877F41 | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897C3B
Deuteranopia (green-blind)
#8B7F44
Tritanopia (blue-blind)
#907871
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #877f41; /* rgb */ color: rgb(135, 127, 65); /* oklch */ color: oklch(59.0% 0.084 102.0);
Tailwind
colors: {
custom: {
50: '#aca377',
500: '#877f41',
950: '#000000',
},
}SCSS
$custom: #877f41; $custom-light: #aca377; $custom-dark: #000000;
JSON
{
"hex": "#877f41",
"rgb": {
"r": 135,
"g": 127,
"b": 65
},
"hsl": {
"h": 53.143,
"s": 35,
"l": 39.216
},
"oklch": {
"l": 0.58963,
"c": 0.08361,
"h": 102
},
"luminance": 0.20711
}Semantic roles & 50–950 ramp
primary
#877F41
secondary
#777DAD
accent
#69CB5D
background
#FAFAF7
surface
#F4F3ED
border
#CECDC8
text
#100F09
muted
#7F7F7B