#877C2E#877C2E
#877C2E is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.099 H 101.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #877C2E |
|---|---|
| RGB | rgb(135, 124, 46) |
| HSL | hsl(53, 49%, 35%) |
| HSV | hsv(53, 66%, 53%) |
| CMYK | cmyk(0%, 8.1%, 65.9%, 47.1%) |
| CIE-LAB | lab(51.57, -5.76, 42.72) |
| CIE-LCH | lch(51.57, 43.10, 97.68°) |
| OKLab | oklab(58.05% -0.0193 0.0971) |
| OKLCH | oklch(58.05% 0.099 101.3) |
| XYZ | xyz(17.6932, 19.7642, 5.4671) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.94
Ugly Brown
#7D7103
ΔE00 5.38
Drab
#828344
ΔE00 5.39
Olive
#808000
ΔE00 5.45
Baby Poop
#937C00
ΔE00 5.78
Puke Brown
#947706
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877C2E #2E3987
analogous
#874F2E #877C2E #65872E
triadic
#877C2E #2E877C #7C2E87
tetradic
#877C2E #2E874F #2E3987 #872E65
square
#877C2E #2E874F #2E3987 #872E65
split-complementary
#877C2E #2E6587 #4F2E87
monochromatic
#2C280F #59521E #877C2E #B5A63E #CABE65
Accessibility & contrast
On white
4.24
#877C2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#877C2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877C2E
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877C2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877C2E | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877825
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#91736C
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #877c2e; /* rgb */ color: rgb(135, 124, 46); /* oklch */ color: oklch(58.1% 0.099 101.3);
Tailwind
colors: {
custom: {
50: '#ada16b',
500: '#877c2e',
950: '#000000',
},
}SCSS
$custom: #877c2e; $custom-light: #ada16b; $custom-dark: #000000;
JSON
{
"hex": "#877c2e",
"rgb": {
"r": 135,
"g": 124,
"b": 46
},
"hsl": {
"h": 52.584,
"s": 49.171,
"l": 35.49
},
"oklch": {
"l": 0.58053,
"c": 0.09897,
"h": 101.3
},
"luminance": 0.19763
}Semantic roles & 50–950 ramp
primary
#877C2E
secondary
#606AB1
accent
#60D94F
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A