#51420E#51420E
#51420E is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.5% C 0.070 H 92.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #51420E |
|---|---|
| RGB | rgb(81, 66, 14) |
| HSL | hsl(47, 71%, 19%) |
| HSV | hsv(47, 83%, 32%) |
| CMYK | cmyk(0%, 18.5%, 82.7%, 68.2%) |
| CIE-LAB | lab(28.58, 0.29, 32.05) |
| CIE-LCH | lch(28.58, 32.05, 89.48°) |
| OKLab | oklab(38.45% -0.0026 0.0704) |
| OKLCH | oklch(38.45% 0.07 92.1) |
| XYZ | xyz(5.4211, 5.6778, 1.2258) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mud Brown
#60460F
ΔE00 4.74
Green Brown
#544E03
ΔE00 6.11
Olive Brown
#645403
ΔE00 7.35
Dark Olive
#373E02
ΔE00 9.28
Mud
#735C12
ΔE00 10.25
Greenish Brown
#696112
ΔE00 11.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51420E #0E1D51
analogous
#51200E #51420E #3E510E
triadic
#51420E #0E5142 #420E51
tetradic
#51420E #0E5120 #0E1D51 #510E3E
square
#51420E #0E5120 #0E1D51 #510E3E
split-complementary
#51420E #0E3E51 #200E51
monochromatic
#1A1505 #1D1705 #51420E #856D17 #B99720
Accessibility & contrast
On white
9.83
#51420E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#51420E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #51420E
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51420E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51420E | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4106
Deuteranopia (green-blind)
#4E4511
Tritanopia (blue-blind)
#583C38
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #51420e; /* rgb */ color: rgb(81, 66, 14); /* oklch */ color: oklch(38.5% 0.070 92.1);
Tailwind
colors: {
custom: {
50: '#857651',
500: '#51420e',
950: '#000000',
},
}SCSS
$custom: #51420e; $custom-light: #857651; $custom-dark: #000000;
JSON
{
"hex": "#51420e",
"rgb": {
"r": 81,
"g": 66,
"b": 14
},
"hsl": {
"h": 46.567,
"s": 70.526,
"l": 18.627
},
"oklch": {
"l": 0.3845,
"c": 0.0704,
"h": 92.1
},
"luminance": 0.05677
}Semantic roles & 50–950 ramp
primary
#51420E
secondary
#2F448C
accent
#63ED3A
background
#F8F7F4
surface
#F0EDE7
border
#CBC8C3
text
#0B0802
muted
#7C7B78