#4f4021
a deep, soft yellow · warm · closest name: darkslategray
RGB
79, 64, 33
HSL
40°, 41%, 22%
CMYK
0, 19, 58, 69
Luminance
0.0544
Every format
| HEX | #4f4021 |
| RGB | rgb(79, 64, 33) |
| HSL | hsl(40, 41%, 22%) |
| CMYK | cmyk(0%, 19%, 58%, 69%) |
| LAB | lab(27.9 2.0 21.2) |
| LCH | lch(27.9 21.3 84.7) |
| OKLCH | oklch(0.380 0.051 84.2) |
Copy-ready code
/* CSS */
color: #4f4021;
background-color: #4f4021;
/* Tailwind (arbitrary) */
class="text-[#4f4021] bg-[#4f4021]"
/* SCSS */
$brand: #4f4021;
/* SwiftUI */
Color(red: 0.310, green: 0.251, blue: 0.129)
/* Android */
Color.parseColor("#4f4021")Accessibility — WCAG contrast
Aa
#4f4021 on white: 10.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#4f4021 on black: 2.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red31.0%
Green25.1%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta19.0%
Yellow58.2%
Key (black)69.0%
Color previews
#4f4021 text on a black background
contrast 2.09:1
Card sample
#4f4021 text on a white background
contrast 10.06:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4f4021;
Background color
Panel with #4f4021 background
background-color: #4f4021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4f4021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(79, 64, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 64, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f4021; background: linear-gradient(135deg, #4f4021, #3F4F21);