#57501F#57501F
#57501F is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.7% C 0.069 H 101.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #57501F |
|---|---|
| RGB | rgb(87, 80, 31) |
| HSL | hsl(53, 47%, 23%) |
| HSV | hsv(53, 64%, 34%) |
| CMYK | cmyk(0%, 8%, 64.4%, 65.9%) |
| CIE-LAB | lab(33.70, -4.16, 29.28) |
| CIE-LCH | lch(33.70, 29.57, 98.08°) |
| OKLab | oklab(42.7% -0.0134 0.0675) |
| OKLCH | oklch(42.7% 0.069 101.2) |
| XYZ | xyz(7.0467, 7.8628, 2.4425) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 4.21
Olive Brown
#645403
ΔE00 6.20
Greenish Brown
#696112
ΔE00 7.71
Mud Brown
#60460F
ΔE00 8.16
Greeny Brown
#696006
ΔE00 8.21
Dark Olive
#373E02
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#57501F #1F2657
analogous
#57341F #57501F #42571F
triadic
#57501F #1F5750 #501F57
tetradic
#57501F #1F5734 #1F2657 #571F42
square
#57501F #1F5734 #1F2657 #571F42
split-complementary
#57501F #1F4257 #341F57
monochromatic
#171508 #2A270F #57501F #84792F #B1A33F
Accessibility & contrast
On white
8.16
#57501F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#57501F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #57501F
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##57501F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##57501F | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574E1A
Deuteranopia (green-blind)
#595121
Tritanopia (blue-blind)
#5E4A45
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #57501f; /* rgb */ color: rgb(87, 80, 31); /* oklch */ color: oklch(42.7% 0.069 101.2);
Tailwind
colors: {
custom: {
50: '#88805d',
500: '#57501f',
950: '#000000',
},
}SCSS
$custom: #57501f; $custom-light: #88805d; $custom-dark: #000000;
JSON
{
"hex": "#57501f",
"rgb": {
"r": 87,
"g": 80,
"b": 31
},
"hsl": {
"h": 52.5,
"s": 47.458,
"l": 23.137
},
"oklch": {
"l": 0.42698,
"c": 0.06884,
"h": 101.2
},
"luminance": 0.07862
}Semantic roles & 50–950 ramp
primary
#57501F
secondary
#464F8C
accent
#62D751
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79