#464021
a deep, soft yellow · cool · closest name: darkslategray
RGB
70, 64, 33
HSL
50°, 36%, 20%
CMYK
0, 9, 53, 73
Luminance
0.0508
Every format
| HEX | #464021 |
| RGB | rgb(70, 64, 33) |
| HSL | hsl(50, 36%, 20%) |
| CMYK | cmyk(0%, 9%, 53%, 73%) |
| LAB | lab(27.0 -2.5 19.8) |
| LCH | lch(27.0 20.0 97.2) |
| OKLCH | oklch(0.369 0.048 98.6) |
Copy-ready code
/* CSS */
color: #464021;
background-color: #464021;
/* Tailwind (arbitrary) */
class="text-[#464021] bg-[#464021]"
/* SCSS */
$brand: #464021;
/* SwiftUI */
Color(red: 0.275, green: 0.251, blue: 0.129)
/* Android */
Color.parseColor("#464021")Accessibility — WCAG contrast
Aa
#464021 on white: 10.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#464021 on black: 2.02:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red27.5%
Green25.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta8.6%
Yellow52.9%
Key (black)72.5%
Color previews
#464021 text on a black background
contrast 2.02:1
Card sample
#464021 text on a white background
contrast 10.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #464021;
Background color
Panel with #464021 background
background-color: #464021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #464021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(70, 64, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(70, 64, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #464021; background: linear-gradient(135deg, #464021, #334621);