#5D581F#5D581F
#5D581F is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.3% C 0.077 H 104.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5D581F |
|---|---|
| RGB | rgb(93, 88, 31) |
| HSL | hsl(55, 50%, 24%) |
| HSV | hsv(55, 67%, 36%) |
| CMYK | cmyk(0%, 5.4%, 66.7%, 63.5%) |
| CIE-LAB | lab(36.75, -5.99, 32.80) |
| CIE-LCH | lch(36.75, 33.34, 100.36°) |
| OKLab | oklab(45.27% -0.0191 0.0749) |
| OKLCH | oklch(45.27% 0.077 104.3) |
| XYZ | xyz(8.2515, 9.4058, 2.6769) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 4.35
Greenish Brown
#696112
ΔE00 4.92
Olive Brown
#645403
ΔE00 5.45
Greeny Brown
#696006
ΔE00 5.61
Mud Green
#606602
ΔE00 7.33
Army Green
#4B5D16
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D581F #1F245D
analogous
#5D391F #5D581F #435D1F
triadic
#5D581F #1F5D58 #581F5D
tetradic
#5D581F #1F5D39 #1F245D #5D1F43
square
#5D581F #1F5D39 #1F245D #5D1F43
split-complementary
#5D581F #1F435D #391F5D
monochromatic
#171608 #2F2D10 #5D581F #8B832E #B9AF3E
Accessibility & contrast
On white
7.29
#5D581F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#5D581F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D581F
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D581F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D581F | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#64524C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #5d581f; /* rgb */ color: rgb(93, 88, 31); /* oklch */ color: oklch(45.3% 0.077 104.3);
Tailwind
colors: {
custom: {
50: '#8d865e',
500: '#5d581f',
950: '#000000',
},
}SCSS
$custom: #5d581f; $custom-light: #8d865e; $custom-dark: #000000;
JSON
{
"hex": "#5d581f",
"rgb": {
"r": 93,
"g": 88,
"b": 31
},
"hsl": {
"h": 55.161,
"s": 50,
"l": 24.314
},
"oklch": {
"l": 0.45271,
"c": 0.07724,
"h": 104.3
},
"luminance": 0.09406
}Semantic roles & 50–950 ramp
primary
#5D581F
secondary
#464C92
accent
#5ADA4E
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0C0B04
muted
#7D7C79