#877A26#877A26
#877A26 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.103 H 100.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #877A26 |
|---|---|
| RGB | rgb(135, 122, 38) |
| HSL | hsl(52, 56%, 34%) |
| HSV | hsv(52, 72%, 53%) |
| CMYK | cmyk(0%, 9.6%, 71.9%, 47.1%) |
| CIE-LAB | lab(50.93, -5.13, 45.59) |
| CIE-LCH | lch(50.93, 45.88, 96.42°) |
| OKLab | oklab(57.53% -0.0185 0.1017) |
| OKLCH | oklch(57.53% 0.103 100.3) |
| XYZ | xyz(17.3018, 19.2107, 4.6300) |
| Luminance | 0.1921 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.87
Ugly Brown
#7D7103
ΔE00 4.30
Baby Poop
#937C00
ΔE00 4.84
Olive
#808000
ΔE00 5.31
Poo
#8F7303
ΔE00 5.63
Puke Brown
#947706
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877A26 #263387
analogous
#874A26 #877A26 #648726
triadic
#877A26 #26877A #7A2687
tetradic
#877A26 #26874A #263387 #872664
square
#877A26 #26874A #263387 #872664
split-complementary
#877A26 #266487 #4A2687
monochromatic
#27240B #574F19 #877A26 #B7A533 #D0C058
Accessibility & contrast
On white
4.34
#877A26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#877A26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877A26
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877A26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877A26 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86761A
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#927169
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #877a26; /* rgb */ color: rgb(135, 122, 38); /* oklch */ color: oklch(57.5% 0.103 100.3);
Tailwind
colors: {
custom: {
50: '#ada066',
500: '#877a26',
950: '#000000',
},
}SCSS
$custom: #877a26; $custom-light: #ada066; $custom-dark: #000000;
JSON
{
"hex": "#877a26",
"rgb": {
"r": 135,
"g": 122,
"b": 38
},
"hsl": {
"h": 51.959,
"s": 56.069,
"l": 33.922
},
"oklch": {
"l": 0.57526,
"c": 0.10341,
"h": 100.3
},
"luminance": 0.1921
}Semantic roles & 50–950 ramp
primary
#877A26
secondary
#5461B5
accent
#5DDF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A