#877C27#877C27
#877C27 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.104 H 101.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #877C27 |
|---|---|
| RGB | rgb(135, 124, 39) |
| HSL | hsl(53, 55%, 34%) |
| HSV | hsv(53, 71%, 53%) |
| CMYK | cmyk(0%, 8.1%, 71.1%, 47.1%) |
| CIE-LAB | lab(51.51, -6.19, 45.75) |
| CIE-LCH | lch(51.51, 46.17, 97.71°) |
| OKLab | oklab(57.99% -0.0214 0.1023) |
| OKLCH | oklch(57.99% 0.104 101.8) |
| XYZ | xyz(17.5663, 19.7134, 4.7988) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.62
Olive
#808000
ΔE00 4.66
Ugly Brown
#7D7103
ΔE00 4.82
Baby Poop
#937C00
ΔE00 5.10
Drab
#828344
ΔE00 6.06
Puke Brown
#947706
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877C27 #273287
analogous
#874C27 #877C27 #628727
triadic
#877C27 #27877C #7C2787
tetradic
#877C27 #27874C #273287 #872762
square
#877C27 #27874C #273287 #872762
split-complementary
#877C27 #276287 #4C2787
monochromatic
#28250C #585019 #877C27 #B6A835 #CFC259
Accessibility & contrast
On white
4.25
#877C27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#877C27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877C27
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877C27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877C27 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88781B
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#91736B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #877c27; /* rgb */ color: rgb(135, 124, 39); /* oklch */ color: oklch(58.0% 0.104 101.8);
Tailwind
colors: {
custom: {
50: '#ada167',
500: '#877c27',
950: '#000000',
},
}SCSS
$custom: #877c27; $custom-light: #ada167; $custom-dark: #000000;
JSON
{
"hex": "#877c27",
"rgb": {
"r": 135,
"g": 124,
"b": 39
},
"hsl": {
"h": 53.125,
"s": 55.172,
"l": 34.118
},
"oklch": {
"l": 0.57988,
"c": 0.10449,
"h": 101.8
},
"luminance": 0.19713
}Semantic roles & 50–950 ramp
primary
#877C27
secondary
#5661B4
accent
#5ADF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A