#51491E#51491E
#51491E is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.3% C 0.062 H 98.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #51491E |
|---|---|
| RGB | rgb(81, 73, 30) |
| HSL | hsl(51, 46%, 22%) |
| HSV | hsv(51, 63%, 32%) |
| CMYK | cmyk(0%, 9.9%, 63%, 68.2%) |
| CIE-LAB | lab(30.90, -2.95, 26.49) |
| CIE-LCH | lch(30.90, 26.66, 96.35°) |
| OKLab | oklab(40.33% -0.0096 0.0616) |
| OKLCH | oklch(40.33% 0.062 98.9) |
| XYZ | xyz(6.0104, 6.6084, 2.1870) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Brown
#544E03
ΔE00 5.62
Mud Brown
#60460F
ΔE00 7.62
Dark Olive
#373E02
ΔE00 7.89
Olive Brown
#645403
ΔE00 7.90
Dark Olive Green
#3C4D03
ΔE00 9.69
Greenish Brown
#696112
ΔE00 10.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51491E #1E2651
analogous
#51301E #51491E #40511E
triadic
#51491E #1E5149 #491E51
tetradic
#51491E #1E5130 #1E2651 #511E40
square
#51491E #1E5130 #1E2651 #511E40
split-complementary
#51491E #1E4051 #301E51
monochromatic
#161408 #24210D #51491E #7E712F #AA993F
Accessibility & contrast
On white
9.05
#51491E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#51491E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51491E
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51491E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51491E | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50471A
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#57443F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #51491e; /* rgb */ color: rgb(81, 73, 30); /* oklch */ color: oklch(40.3% 0.062 98.9);
Tailwind
colors: {
custom: {
50: '#847b5b',
500: '#51491e',
950: '#000000',
},
}SCSS
$custom: #51491e; $custom-light: #847b5b; $custom-dark: #000000;
JSON
{
"hex": "#51491e",
"rgb": {
"r": 81,
"g": 73,
"b": 30
},
"hsl": {
"h": 50.588,
"s": 45.946,
"l": 21.765
},
"oklch": {
"l": 0.40329,
"c": 0.06232,
"h": 98.9
},
"luminance": 0.06608
}Semantic roles & 50–950 ramp
primary
#51491E
secondary
#454F86
accent
#67D652
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0904
muted
#7C7B79