#877D1E#877D1E
#877D1E is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.111 H 103.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #877D1E |
|---|---|
| RGB | rgb(135, 125, 30) |
| HSL | hsl(54, 64%, 32%) |
| HSV | hsv(54, 78%, 53%) |
| CMYK | cmyk(0%, 7.4%, 77.8%, 47.1%) |
| CIE-LAB | lab(51.74, -7.20, 49.50) |
| CIE-LCH | lch(51.74, 50.02, 98.28°) |
| OKLab | oklab(58.15% -0.0252 0.1085) |
| OKLCH | oklch(58.15% 0.111 103.1) |
| XYZ | xyz(17.5604, 19.9126, 4.1466) |
| Luminance | 0.1991 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.60
Baby Poop
#937C00
ΔE00 4.67
Ugly Brown
#7D7103
ΔE00 4.72
Hazel
#8E7618
ΔE00 4.90
Shit Green
#758000
ΔE00 6.19
Puke Brown
#947706
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877D1E #1E2887
analogous
#87491E #877D1E #5C871E
triadic
#877D1E #1E877D #7D1E87
tetradic
#877D1E #1E8749 #1E2887 #871E5C
square
#877D1E #1E8749 #1E2887 #871E5C
split-complementary
#877D1E #1E5C87 #491E87
monochromatic
#232008 #554F13 #877D1E #B9AB29 #D7C949
Accessibility & contrast
On white
4.21
#877D1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#877D1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877D1E
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877D1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877D1E | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #877d1e; /* rgb */ color: rgb(135, 125, 30); /* oklch */ color: oklch(58.1% 0.111 103.1);
Tailwind
colors: {
custom: {
50: '#ada262',
500: '#877d1e',
950: '#000000',
},
}SCSS
$custom: #877d1e; $custom-light: #ada262; $custom-dark: #000000;
JSON
{
"hex": "#877d1e",
"rgb": {
"r": 135,
"g": 125,
"b": 30
},
"hsl": {
"h": 54.286,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.58149,
"c": 0.11135,
"h": 103.1
},
"luminance": 0.19912
}Semantic roles & 50–950 ramp
primary
#877D1E
secondary
#4853B9
accent
#51E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A