#877B30#877B30
#877B30 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.096 H 100.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #877B30 |
|---|---|
| RGB | rgb(135, 123, 48) |
| HSL | hsl(52, 48%, 36%) |
| HSV | hsv(52, 64%, 53%) |
| CMYK | cmyk(0%, 8.9%, 64.4%, 47.1%) |
| CIE-LAB | lab(51.30, -5.06, 41.49) |
| CIE-LCH | lch(51.30, 41.80, 96.95°) |
| OKLab | oklab(57.85% -0.0171 0.0948) |
| OKLCH | oklch(57.85% 0.096 100.2) |
| XYZ | xyz(17.6088, 19.5310, 5.6380) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.77
Ugly Brown
#7D7103
ΔE00 5.41
Drab
#828344
ΔE00 5.51
Baby Poop
#937C00
ΔE00 5.94
Olive
#808000
ΔE00 6.04
Poo
#8F7303
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877B30 #303C87
analogous
#874F30 #877B30 #678730
triadic
#877B30 #30877B #7B3087
tetradic
#877B30 #30874F #303C87 #873067
square
#877B30 #30874F #303C87 #873067
split-complementary
#877B30 #306787 #4F3087
monochromatic
#2D2910 #5A5220 #877B30 #B4A440 #C9BC68
Accessibility & contrast
On white
4.28
#877B30 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#877B30 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877B30
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877B30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877B30 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867827
Deuteranopia (green-blind)
#8A7C34
Tritanopia (blue-blind)
#91726B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #877b30; /* rgb */ color: rgb(135, 123, 48); /* oklch */ color: oklch(57.8% 0.096 100.2);
Tailwind
colors: {
custom: {
50: '#aca06c',
500: '#877b30',
950: '#000000',
},
}SCSS
$custom: #877b30; $custom-light: #aca06c; $custom-dark: #000000;
JSON
{
"hex": "#877b30",
"rgb": {
"r": 135,
"g": 123,
"b": 48
},
"hsl": {
"h": 51.724,
"s": 47.541,
"l": 35.882
},
"oklch": {
"l": 0.57847,
"c": 0.09631,
"h": 100.2
},
"luminance": 0.1953
}Semantic roles & 50–950 ramp
primary
#877B30
secondary
#626DB1
accent
#63D751
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100E07
muted
#7F7E7A