#877927#877927
#877927 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.3% C 0.102 H 99.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #877927 |
|---|---|
| RGB | rgb(135, 121, 39) |
| HSL | hsl(51, 55%, 34%) |
| HSV | hsv(51, 71%, 53%) |
| CMYK | cmyk(0%, 10.4%, 71.1%, 47.1%) |
| CIE-LAB | lab(50.66, -4.52, 44.89) |
| CIE-LCH | lch(50.66, 45.11, 95.75°) |
| OKLab | oklab(57.31% -0.0167 0.1004) |
| OKLCH | oklch(57.31% 0.102 99.4) |
| XYZ | xyz(17.1960, 18.9729, 4.6754) |
| Luminance | 0.1897 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.59
Ugly Brown
#7D7103
ΔE00 4.22
Baby Poop
#937C00
ΔE00 4.91
Poo
#8F7303
ΔE00 5.37
Puke Brown
#947706
ΔE00 5.52
Olive
#808000
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877927 #273587
analogous
#874927 #877927 #658727
triadic
#877927 #278779 #792787
tetradic
#877927 #278749 #273587 #872765
square
#877927 #278749 #273587 #872765
split-complementary
#877927 #276587 #492787
monochromatic
#28240C #584E19 #877927 #B6A435 #CFBE59
Accessibility & contrast
On white
4.38
#877927 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#877927 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877927
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877927 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877927 | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85761B
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#927068
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #877927; /* rgb */ color: rgb(135, 121, 39); /* oklch */ color: oklch(57.3% 0.102 99.4);
Tailwind
colors: {
custom: {
50: '#ad9f66',
500: '#877927',
950: '#000000',
},
}SCSS
$custom: #877927; $custom-light: #ad9f66; $custom-dark: #000000;
JSON
{
"hex": "#877927",
"rgb": {
"r": 135,
"g": 121,
"b": 39
},
"hsl": {
"h": 51.25,
"s": 55.172,
"l": 34.118
},
"oklch": {
"l": 0.57309,
"c": 0.10181,
"h": 99.4
},
"luminance": 0.18972
}Semantic roles & 50–950 ramp
primary
#877927
secondary
#5663B4
accent
#5FDF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A