#5A4E1E#5A4E1E
#5A4E1E is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.5% C 0.068 H 95.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4E1E |
|---|---|
| RGB | rgb(90, 78, 30) |
| HSL | hsl(48, 50%, 24%) |
| HSV | hsv(48, 67%, 35%) |
| CMYK | cmyk(0%, 13.3%, 66.7%, 64.7%) |
| CIE-LAB | lab(33.39, -1.55, 29.55) |
| CIE-LCH | lch(33.39, 29.59, 93.00°) |
| OKLab | oklab(42.52% -0.0063 0.0679) |
| OKLCH | oklch(42.52% 0.068 95.3) |
| XYZ | xyz(7.1755, 7.7165, 2.3395) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 4.86
Olive Brown
#645403
ΔE00 5.61
Mud Brown
#60460F
ΔE00 6.06
Mud
#735C12
ΔE00 7.93
Greenish Brown
#696112
ΔE00 8.27
Greeny Brown
#696006
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4E1E #1E2A5A
analogous
#5A301E #5A4E1E #485A1E
triadic
#5A4E1E #1E5A4E #4E1E5A
tetradic
#5A4E1E #1E5A30 #1E2A5A #5A1E48
square
#5A4E1E #1E5A30 #1E2A5A #5A1E48
split-complementary
#5A4E1E #1E485A #301E5A
monochromatic
#171408 #2C260F #5A4E1E #88762D #B69E3D
Accessibility & contrast
On white
8.26
#5A4E1E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#5A4E1E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A4E1E
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4E1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4E1E | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564C19
Deuteranopia (green-blind)
#595020
Tritanopia (blue-blind)
#614844
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #5a4e1e; /* rgb */ color: rgb(90, 78, 30); /* oklch */ color: oklch(42.5% 0.068 95.3);
Tailwind
colors: {
custom: {
50: '#8b7f5c',
500: '#5a4e1e',
950: '#000000',
},
}SCSS
$custom: #5a4e1e; $custom-light: #8b7f5c; $custom-dark: #000000;
JSON
{
"hex": "#5a4e1e",
"rgb": {
"r": 90,
"g": 78,
"b": 30
},
"hsl": {
"h": 48,
"s": 50,
"l": 23.529
},
"oklch": {
"l": 0.42523,
"c": 0.06815,
"h": 95.3
},
"luminance": 0.07716
}Semantic roles & 50–950 ramp
primary
#5A4E1E
secondary
#45548F
accent
#6ADA4E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79