#877A1F#877A1F
#877A1F is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.108 H 100.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #877A1F |
|---|---|
| RGB | rgb(135, 122, 31) |
| HSL | hsl(53, 63%, 33%) |
| HSV | hsv(53, 77%, 53%) |
| CMYK | cmyk(0%, 9.6%, 77%, 47.1%) |
| CIE-LAB | lab(50.89, -5.49, 48.34) |
| CIE-LCH | lch(50.89, 48.65, 96.48°) |
| OKLab | oklab(57.47% -0.0203 0.1062) |
| OKLCH | oklch(57.47% 0.108 100.8) |
| XYZ | xyz(17.1993, 19.1697, 4.0902) |
| Luminance | 0.1917 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.72
Ugly Brown
#7D7103
ΔE00 3.88
Baby Poop
#937C00
ΔE00 4.29
Olive
#808000
ΔE00 4.78
Poo
#8F7303
ΔE00 5.35
Puke Brown
#947706
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877A1F #1F2C87
analogous
#87461F #877A1F #60871F
triadic
#877A1F #1F877A #7A1F87
tetradic
#877A1F #1F8746 #1F2C87 #871F60
square
#877A1F #1F8746 #1F2C87 #871F60
split-complementary
#877A1F #1F6087 #461F87
monochromatic
#232008 #554D14 #877A1F #B9A72A #D6C44B
Accessibility & contrast
On white
4.34
#877A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#877A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877A1F
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877A1F | 1.00 | 4.34 | 4.83 | 4.83 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86760D
Deuteranopia (green-blind)
#8A7B25
Tritanopia (blue-blind)
#927169
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #877a1f; /* rgb */ color: rgb(135, 122, 31); /* oklch */ color: oklch(57.5% 0.108 100.8);
Tailwind
colors: {
custom: {
50: '#ada062',
500: '#877a1f',
950: '#000000',
},
}SCSS
$custom: #877a1f; $custom-light: #ada062; $custom-dark: #000000;
JSON
{
"hex": "#877a1f",
"rgb": {
"r": 135,
"g": 122,
"b": 31
},
"hsl": {
"h": 52.5,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.57473,
"c": 0.1081,
"h": 100.8
},
"luminance": 0.19169
}Semantic roles & 50–950 ramp
primary
#877A1F
secondary
#4A57B8
accent
#57E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A