#877C1F#877C1F
#877C1F is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.110 H 102.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #877C1F |
|---|---|
| RGB | rgb(135, 124, 31) |
| HSL | hsl(54, 63%, 33%) |
| HSV | hsv(54, 77%, 53%) |
| CMYK | cmyk(0%, 8.1%, 77%, 47.1%) |
| CIE-LAB | lab(51.46, -6.60, 48.88) |
| CIE-LCH | lch(51.46, 49.32, 97.69°) |
| OKLab | oklab(57.93% -0.0234 0.1073) |
| OKLCH | oklch(57.93% 0.11 102.3) |
| XYZ | xyz(17.4474, 19.6659, 4.1729) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.01
Ugly Brown
#7D7103
ΔE00 4.43
Hazel
#8E7618
ΔE00 4.49
Baby Poop
#937C00
ΔE00 4.54
Puke Brown
#947706
ΔE00 6.01
Poo
#8F7303
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877C1F #1F2A87
analogous
#87481F #877C1F #5E871F
triadic
#877C1F #1F877C #7C1F87
tetradic
#877C1F #1F8748 #1F2A87 #871F5E
square
#877C1F #1F8748 #1F2A87 #871F5E
split-complementary
#877C1F #1F5E87 #481F87
monochromatic
#232108 #554E14 #877C1F #B9AA2A #D6C74B
Accessibility & contrast
On white
4.26
#877C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#877C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877C1F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877C1F | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#92736A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #877c1f; /* rgb */ color: rgb(135, 124, 31); /* oklch */ color: oklch(57.9% 0.110 102.3);
Tailwind
colors: {
custom: {
50: '#ada162',
500: '#877c1f',
950: '#000000',
},
}SCSS
$custom: #877c1f; $custom-light: #ada162; $custom-dark: #000000;
JSON
{
"hex": "#877c1f",
"rgb": {
"r": 135,
"g": 124,
"b": 31
},
"hsl": {
"h": 53.654,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.57928,
"c": 0.10985,
"h": 102.3
},
"luminance": 0.19665
}Semantic roles & 50–950 ramp
primary
#877C1F
secondary
#4A55B8
accent
#53E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A