#877B1E#877B1E
#877B1E is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.7% C 0.110 H 101.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #877B1E |
|---|---|
| RGB | rgb(135, 123, 30) |
| HSL | hsl(53, 64%, 32%) |
| HSV | hsv(53, 78%, 53%) |
| CMYK | cmyk(0%, 8.9%, 77.8%, 47.1%) |
| CIE-LAB | lab(51.16, -6.09, 48.97) |
| CIE-LCH | lch(51.16, 49.35, 97.09°) |
| OKLab | oklab(57.69% -0.0221 0.1073) |
| OKLCH | oklch(57.69% 0.11 101.6) |
| XYZ | xyz(17.3098, 19.4113, 4.0630) |
| Luminance | 0.1941 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.10
Ugly Brown
#7D7103
ΔE00 4.10
Olive
#808000
ΔE00 4.33
Baby Poop
#937C00
ΔE00 4.34
Puke Brown
#947706
ΔE00 5.67
Poo
#8F7303
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877B1E #1E2A87
analogous
#87471E #877B1E #5E871E
triadic
#877B1E #1E877B #7B1E87
tetradic
#877B1E #1E8747 #1E2A87 #871E5E
square
#877B1E #1E8747 #1E2A87 #871E5E
split-complementary
#877B1E #1E5E87 #471E87
monochromatic
#232008 #554D13 #877B1E #B9A929 #D7C649
Accessibility & contrast
On white
4.30
#877B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#877B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877B1E
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877B1E | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87770A
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#927269
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #877b1e; /* rgb */ color: rgb(135, 123, 30); /* oklch */ color: oklch(57.7% 0.110 101.6);
Tailwind
colors: {
custom: {
50: '#ada062',
500: '#877b1e',
950: '#000000',
},
}SCSS
$custom: #877b1e; $custom-light: #ada062; $custom-dark: #000000;
JSON
{
"hex": "#877b1e",
"rgb": {
"r": 135,
"g": 123,
"b": 30
},
"hsl": {
"h": 53.143,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.57694,
"c": 0.10956,
"h": 101.6
},
"luminance": 0.19411
}Semantic roles & 50–950 ramp
primary
#877B1E
secondary
#4855B9
accent
#54E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A