#877F26#877F26
#877F26 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.108 H 104.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #877F26 |
|---|---|
| RGB | rgb(135, 127, 38) |
| HSL | hsl(55, 56%, 34%) |
| HSV | hsv(55, 72%, 53%) |
| CMYK | cmyk(0%, 5.9%, 71.9%, 47.1%) |
| CIE-LAB | lab(52.36, -7.91, 47.02) |
| CIE-LCH | lch(52.36, 47.68, 99.55°) |
| OKLab | oklab(58.66% -0.0264 0.1048) |
| OKLCH | oklch(58.66% 0.108 104.1) |
| XYZ | xyz(17.9316, 20.4703, 4.8400) |
| Luminance | 0.2047 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.67
Baby Poop
#937C00
ΔE00 5.58
Drab
#828344
ΔE00 5.62
Ugly Brown
#7D7103
ΔE00 5.67
Hazel
#8E7618
ΔE00 5.77
Shit Green
#758000
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877F26 #262E87
analogous
#874F26 #877F26 #5F8726
triadic
#877F26 #26877F #7F2687
tetradic
#877F26 #26874F #262E87 #87265F
square
#877F26 #26874F #262E87 #87265F
split-complementary
#877F26 #265F87 #4F2687
monochromatic
#27250B #575219 #877F26 #B7AC33 #D0C658
Accessibility & contrast
On white
4.12
#877F26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#877F26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877F26
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877F26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877F26 | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B18
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#91766D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #877f26; /* rgb */ color: rgb(135, 127, 38); /* oklch */ color: oklch(58.7% 0.108 104.1);
Tailwind
colors: {
custom: {
50: '#ada366',
500: '#877f26',
950: '#000000',
},
}SCSS
$custom: #877f26; $custom-light: #ada366; $custom-dark: #000000;
JSON
{
"hex": "#877f26",
"rgb": {
"r": 135,
"g": 127,
"b": 38
},
"hsl": {
"h": 55.052,
"s": 56.069,
"l": 33.922
},
"oklch": {
"l": 0.58664,
"c": 0.10803,
"h": 104.1
},
"luminance": 0.2047
}Semantic roles & 50–950 ramp
primary
#877F26
secondary
#545CB5
accent
#55DF48
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A