#877E1E#877E1E
#877E1E is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.112 H 103.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #877E1E |
|---|---|
| RGB | rgb(135, 126, 30) |
| HSL | hsl(55, 64%, 32%) |
| HSV | hsv(55, 78%, 53%) |
| CMYK | cmyk(0%, 6.7%, 77.8%, 47.1%) |
| CIE-LAB | lab(52.03, -7.75, 49.77) |
| CIE-LCH | lch(52.03, 50.37, 98.85°) |
| OKLab | oklab(58.38% -0.0268 0.109) |
| OKLCH | oklch(58.38% 0.112 103.8) |
| XYZ | xyz(17.6877, 20.1671, 4.1890) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.27
Baby Poop
#937C00
ΔE00 4.90
Ugly Brown
#7D7103
ΔE00 5.06
Hazel
#8E7618
ΔE00 5.30
Shit Green
#758000
ΔE00 5.88
Drab
#828344
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E1E #1E2787
analogous
#87491E #877E1E #5C871E
triadic
#877E1E #1E877E #7E1E87
tetradic
#877E1E #1E8749 #1E2787 #871E5C
square
#877E1E #1E8749 #1E2787 #871E5C
split-complementary
#877E1E #1E5C87 #491E87
monochromatic
#232108 #554F13 #877E1E #B9AD29 #D7CA49
Accessibility & contrast
On white
4.17
#877E1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#877E1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E1E
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E1E | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A09
Deuteranopia (green-blind)
#8D7E25
Tritanopia (blue-blind)
#92756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e1e; /* rgb */ color: rgb(135, 126, 30); /* oklch */ color: oklch(58.4% 0.112 103.8);
Tailwind
colors: {
custom: {
50: '#ada362',
500: '#877e1e',
950: '#000000',
},
}SCSS
$custom: #877e1e; $custom-light: #ada362; $custom-dark: #000000;
JSON
{
"hex": "#877e1e",
"rgb": {
"r": 135,
"g": 126,
"b": 30
},
"hsl": {
"h": 54.857,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.58378,
"c": 0.11225,
"h": 103.8
},
"luminance": 0.20166
}Semantic roles & 50–950 ramp
primary
#877E1E
secondary
#4852B9
accent
#4FE741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A