#877E30#877E30
#877E30 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.099 H 102.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #877E30 |
|---|---|
| RGB | rgb(135, 126, 48) |
| HSL | hsl(54, 48%, 36%) |
| HSV | hsv(54, 64%, 53%) |
| CMYK | cmyk(0%, 6.7%, 64.4%, 47.1%) |
| CIE-LAB | lab(52.16, -6.73, 42.42) |
| CIE-LCH | lch(52.16, 42.95, 99.02°) |
| OKLab | oklab(58.53% -0.0219 0.0968) |
| OKLCH | oklch(58.53% 0.099 102.7) |
| XYZ | xyz(17.9867, 20.2867, 5.7640) |
| Luminance | 0.2029 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.68
Olive
#808000
ΔE00 5.12
Hazel
#8E7618
ΔE00 5.74
Ugly Brown
#7D7103
ΔE00 6.02
Baby Poop
#937C00
ΔE00 6.24
Shit Green
#758000
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E30 #303987
analogous
#875230 #877E30 #648730
triadic
#877E30 #30877E #7E3087
tetradic
#877E30 #308752 #303987 #873064
square
#877E30 #308752 #303987 #873064
split-complementary
#877E30 #306487 #523087
monochromatic
#2D2A10 #5A5420 #877E30 #B4A840 #C9BF68
Accessibility & contrast
On white
4.15
#877E30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#877E30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E30
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E30 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A27
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#91766D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e30; /* rgb */ color: rgb(135, 126, 48); /* oklch */ color: oklch(58.5% 0.099 102.7);
Tailwind
colors: {
custom: {
50: '#aca36c',
500: '#877e30',
950: '#000000',
},
}SCSS
$custom: #877e30; $custom-light: #aca36c; $custom-dark: #000000;
JSON
{
"hex": "#877e30",
"rgb": {
"r": 135,
"g": 126,
"b": 48
},
"hsl": {
"h": 53.793,
"s": 47.541,
"l": 35.882
},
"oklch": {
"l": 0.58527,
"c": 0.09919,
"h": 102.7
},
"luminance": 0.20286
}Semantic roles & 50–950 ramp
primary
#877E30
secondary
#626AB1
accent
#5FD751
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#100F07
muted
#7F7F7A