#877E25#877E25
#877E25 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.108 H 103.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #877E25 |
|---|---|
| RGB | rgb(135, 126, 37) |
| HSL | hsl(54, 57%, 34%) |
| HSV | hsv(54, 73%, 53%) |
| CMYK | cmyk(0%, 6.7%, 72.6%, 47.1%) |
| CIE-LAB | lab(52.07, -7.41, 47.14) |
| CIE-LCH | lch(52.07, 47.72, 98.93°) |
| OKLab | oklab(58.43% -0.0251 0.1048) |
| OKLCH | oklch(58.43% 0.108 103.5) |
| XYZ | xyz(17.7872, 20.2069, 4.7133) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.84
Baby Poop
#937C00
ΔE00 5.29
Ugly Brown
#7D7103
ΔE00 5.29
Hazel
#8E7618
ΔE00 5.35
Drab
#828344
ΔE00 5.87
Shit Green
#758000
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E25 #252E87
analogous
#874D25 #877E25 #5F8725
triadic
#877E25 #25877E #7E2587
tetradic
#877E25 #25874D #252E87 #87255F
square
#877E25 #25874D #252E87 #87255F
split-complementary
#877E25 #255F87 #4D2587
monochromatic
#27240B #575118 #877E25 #B7AB32 #D1C556
Accessibility & contrast
On white
4.17
#877E25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#877E25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E25
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E25 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#91756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e25; /* rgb */ color: rgb(135, 126, 37); /* oklch */ color: oklch(58.4% 0.108 103.5);
Tailwind
colors: {
custom: {
50: '#ada366',
500: '#877e25',
950: '#000000',
},
}SCSS
$custom: #877e25; $custom-light: #ada366; $custom-dark: #000000;
JSON
{
"hex": "#877e25",
"rgb": {
"r": 135,
"g": 126,
"b": 37
},
"hsl": {
"h": 54.49,
"s": 56.977,
"l": 33.725
},
"oklch": {
"l": 0.58428,
"c": 0.10778,
"h": 103.5
},
"luminance": 0.20206
}Semantic roles & 50–950 ramp
primary
#877E25
secondary
#535CB5
accent
#56E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A