#706c21
a dark, vivid yellow · cool · closest name: olive
RGB
112, 108, 33
HSL
57°, 55%, 28%
CMYK
0, 4, 71, 56
Luminance
0.1428
Every format
| HEX | #706c21 |
| RGB | rgb(112, 108, 33) |
| HSL | hsl(57, 55%, 28%) |
| CMYK | cmyk(0%, 4%, 71%, 56%) |
| LAB | lab(44.6 -8.3 40.7) |
| LCH | lch(44.6 41.5 101.5) |
| OKLCH | oklch(0.520 0.095 106.3) |
Copy-ready code
/* CSS */
color: #706c21;
background-color: #706c21;
/* Tailwind (arbitrary) */
class="text-[#706c21] bg-[#706c21]"
/* SCSS */
$brand: #706c21;
/* SwiftUI */
Color(red: 0.439, green: 0.424, blue: 0.129)
/* Android */
Color.parseColor("#706c21")Accessibility — WCAG contrast
Aa
#706c21 on white: 5.45:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#706c21 on black: 3.86:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.9%
Green42.4%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta3.6%
Yellow70.5%
Key (black)56.1%
Color previews
#706c21 text on a black background
contrast 3.86:1
Card sample
#706c21 text on a white background
contrast 5.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #706c21;
Background color
Panel with #706c21 background
background-color: #706c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #706c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(112, 108, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 108, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #706c21; background: linear-gradient(135deg, #706c21, #3F7021);