#877F1C#877F1C
#877F1C is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.114 H 104.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #877F1C |
|---|---|
| RGB | rgb(135, 127, 28) |
| HSL | hsl(56, 66%, 32%) |
| HSV | hsv(56, 79%, 53%) |
| CMYK | cmyk(0%, 5.9%, 79.3%, 47.1%) |
| CIE-LAB | lab(52.30, -8.39, 50.72) |
| CIE-LCH | lch(52.30, 51.41, 99.39°) |
| OKLab | oklab(58.59% -0.0288 0.1106) |
| OKLCH | oklch(58.59% 0.114 104.6) |
| XYZ | xyz(17.7914, 20.4142, 4.1016) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.86
Baby Poop
#937C00
ΔE00 5.07
Ugly Brown
#7D7103
ΔE00 5.38
Shit Green
#758000
ΔE00 5.56
Hazel
#8E7618
ΔE00 5.72
Poop Green
#6F7C00
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877F1C #1C2487
analogous
#874A1C #877F1C #5A871C
triadic
#877F1C #1C877F #7F1C87
tetradic
#877F1C #1C874A #1C2487 #871C5A
square
#877F1C #1C874A #1C2487 #871C5A
split-complementary
#877F1C #1C5A87 #4A1C87
monochromatic
#222007 #544F11 #877F1C #BAAF27 #D8CD45
Accessibility & contrast
On white
4.13
#877F1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#877F1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877F1C
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877F1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877F1C | 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)
#8B7A04
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#92766C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #877f1c; /* rgb */ color: rgb(135, 127, 28); /* oklch */ color: oklch(58.6% 0.114 104.6);
Tailwind
colors: {
custom: {
50: '#ada361',
500: '#877f1c',
950: '#000000',
},
}SCSS
$custom: #877f1c; $custom-light: #ada361; $custom-dark: #000000;
JSON
{
"hex": "#877f1c",
"rgb": {
"r": 135,
"g": 127,
"b": 28
},
"hsl": {
"h": 55.514,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.58594,
"c": 0.11432,
"h": 104.6
},
"luminance": 0.20413
}Semantic roles & 50–950 ramp
primary
#877F1C
secondary
#454EBA
accent
#4CE93F
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A