#51471F#51471F
#51471F is a dark, muted yellow. Relative luminance 0.064; OKLCH L 39.9% C 0.059 H 95.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #51471F |
|---|---|
| RGB | rgb(81, 71, 31) |
| HSL | hsl(48, 45%, 22%) |
| HSV | hsv(48, 62%, 32%) |
| CMYK | cmyk(0%, 12.3%, 61.7%, 68.2%) |
| CIE-LAB | lab(30.29, -1.62, 25.24) |
| CIE-LCH | lch(30.29, 25.29, 93.68°) |
| OKLab | oklab(39.85% -0.0057 0.059) |
| OKLCH | oklch(39.85% 0.059 95.5) |
| XYZ | xyz(5.8941, 6.3550, 2.2122) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 6.61
Mud Brown
#60460F
ΔE00 7.01
Olive Brown
#645403
ΔE00 8.46
Dark Olive
#373E02
ΔE00 8.64
Dark Olive Green
#3C4D03
ΔE00 10.87
Mud
#735C12
ΔE00 10.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51471F #1F2951
analogous
#512E1F #51471F #42511F
triadic
#51471F #1F5147 #471F51
tetradic
#51471F #1F512E #1F2951 #511F42
square
#51471F #1F512E #1F2951 #511F42
split-complementary
#51471F #1F4251 #2E1F51
monochromatic
#161308 #25200E #51471F #7D6E30 #AA9541
Accessibility & contrast
On white
9.25
#51471F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#51471F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51471F
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51471F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51471F | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E451B
Deuteranopia (green-blind)
#514921
Tritanopia (blue-blind)
#57423E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #51471f; /* rgb */ color: rgb(81, 71, 31); /* oklch */ color: oklch(39.9% 0.059 95.5);
Tailwind
colors: {
custom: {
50: '#837a5c',
500: '#51471f',
950: '#000000',
},
}SCSS
$custom: #51471f; $custom-light: #837a5c; $custom-dark: #000000;
JSON
{
"hex": "#51471f",
"rgb": {
"r": 81,
"g": 71,
"b": 31
},
"hsl": {
"h": 48,
"s": 44.643,
"l": 21.961
},
"oklch": {
"l": 0.39853,
"c": 0.05927,
"h": 95.5
},
"luminance": 0.06355
}Semantic roles & 50–950 ramp
primary
#51471F
secondary
#465386
accent
#6DD453
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0904
muted
#7C7B79