#877F1E#877F1E
#877F1E is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.113 H 104.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #877F1E |
|---|---|
| RGB | rgb(135, 127, 30) |
| HSL | hsl(55, 64%, 32%) |
| HSV | hsv(55, 78%, 53%) |
| CMYK | cmyk(0%, 5.9%, 77.8%, 47.1%) |
| CIE-LAB | lab(52.31, -8.30, 50.04) |
| CIE-LCH | lch(52.31, 50.72, 99.42°) |
| OKLab | oklab(58.61% -0.0283 0.1096) |
| OKLCH | oklch(58.61% 0.113 104.5) |
| XYZ | xyz(17.8162, 20.4241, 4.2318) |
| Luminance | 0.2042 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.99
Baby Poop
#937C00
ΔE00 5.15
Ugly Brown
#7D7103
ΔE00 5.42
Shit Green
#758000
ΔE00 5.61
Hazel
#8E7618
ΔE00 5.71
Drab
#828344
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877F1E #1E2687
analogous
#874B1E #877F1E #5A871E
triadic
#877F1E #1E877F #7F1E87
tetradic
#877F1E #1E874B #1E2687 #871E5A
square
#877F1E #1E874B #1E2687 #871E5A
split-complementary
#877F1E #1E5A87 #4B1E87
monochromatic
#232108 #555013 #877F1E #B9AE29 #D7CC49
Accessibility & contrast
On white
4.13
#877F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#877F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877F1E
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877F1E | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7A08
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#92766D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #877f1e; /* rgb */ color: rgb(135, 127, 30); /* oklch */ color: oklch(58.6% 0.113 104.5);
Tailwind
colors: {
custom: {
50: '#ada362',
500: '#877f1e',
950: '#000000',
},
}SCSS
$custom: #877f1e; $custom-light: #ada362; $custom-dark: #000000;
JSON
{
"hex": "#877f1e",
"rgb": {
"r": 135,
"g": 127,
"b": 30
},
"hsl": {
"h": 55.429,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.58607,
"c": 0.11319,
"h": 104.5
},
"luminance": 0.20423
}Semantic roles & 50–950 ramp
primary
#877F1E
secondary
#4851B9
accent
#4EE741
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A