#706821
a dark, vivid yellow · cool · closest name: olive
RGB
112, 104, 33
HSL
54°, 55%, 28%
CMYK
0, 7, 71, 56
Luminance
0.1346
Every format
| HEX | #706821 |
| RGB | rgb(112, 104, 33) |
| HSL | hsl(54, 55%, 28%) |
| CMYK | cmyk(0%, 7%, 71%, 56%) |
| LAB | lab(43.4 -6.0 39.5) |
| LCH | lch(43.4 39.9 98.7) |
| OKLCH | oklch(0.510 0.091 102.8) |
Copy-ready code
/* CSS */
color: #706821;
background-color: #706821;
/* Tailwind (arbitrary) */
class="text-[#706821] bg-[#706821]"
/* SCSS */
$brand: #706821;
/* SwiftUI */
Color(red: 0.439, green: 0.408, blue: 0.129)
/* Android */
Color.parseColor("#706821")Accessibility — WCAG contrast
Aa
#706821 on white: 5.69:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#706821 on black: 3.69:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.9%
Green40.8%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta7.1%
Yellow70.5%
Key (black)56.1%
Color previews
#706821 text on a black background
contrast 3.69:1
Card sample
#706821 text on a white background
contrast 5.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #706821;
Background color
Panel with #706821 background
background-color: #706821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #706821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(112, 104, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 104, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #706821; background: linear-gradient(135deg, #706821, #437021);