#5E5A42#5E5A42
#5E5A42 is a mid, muted yellow. Relative luminance 0.101; OKLCH L 46.5% C 0.037 H 99.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5E5A42 |
|---|---|
| RGB | rgb(94, 90, 66) |
| HSL | hsl(51, 18%, 31%) |
| HSV | hsv(51, 30%, 37%) |
| CMYK | cmyk(0%, 4.3%, 29.8%, 63.1%) |
| CIE-LAB | lab(38.00, -2.70, 14.48) |
| CIE-LCH | lch(38.00, 14.73, 100.58°) |
| OKLab | oklab(46.45% -0.0062 0.0365) |
| OKLCH | oklch(46.45% 0.037 99.7) |
| XYZ | xyz(9.2557, 10.0856, 6.6123) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greyish Brown
#7A6A4F
ΔE00 9.14
Grey Brown
#7F7053
ΔE00 10.52
Dark Taupe
#7F684E
ΔE00 11.73
Walnut
#5C4A3D
ΔE00 11.74
Umber
#635147
ΔE00 12.17
Green Brown
#544E03
ΔE00 12.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E5A42 #42465E
analogous
#5E4C42 #5E5A42 #545E42
triadic
#5E5A42 #425E5A #5A425E
tetradic
#5E5A42 #425E4C #42465E #5E4254
square
#5E5A42 #425E4C #42465E #5E4254
split-complementary
#5E5A42 #42545E #4C425E
monochromatic
#161510 #3A3829 #5E5A42 #827C5B #A19B79
Accessibility & contrast
On white
6.96
#5E5A42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#5E5A42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E5A42
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E5A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E5A42 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5840
Deuteranopia (green-blind)
#605A43
Tritanopia (blue-blind)
#625754
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5e5a42; /* rgb */ color: rgb(94, 90, 66); /* oklch */ color: oklch(46.5% 0.037 99.7);
Tailwind
colors: {
custom: {
50: '#8c8876',
500: '#5e5a42',
950: '#000000',
},
}SCSS
$custom: #5e5a42; $custom-light: #8c8876; $custom-dark: #000000;
JSON
{
"hex": "#5e5a42",
"rgb": {
"r": 94,
"g": 90,
"b": 66
},
"hsl": {
"h": 51.429,
"s": 17.5,
"l": 31.373
},
"oklch": {
"l": 0.46454,
"c": 0.03703,
"h": 99.7
},
"luminance": 0.10085
}Semantic roles & 50–950 ramp
primary
#5E5A42
secondary
#6E738D
accent
#79BA6E
background
#F8F8F7
surface
#F0EFED
border
#CBCAC8
text
#0C0B08
muted
#7D7C7B