#416c21
a dark, vivid green · cool · closest name: olivedrab
RGB
65, 108, 33
HSL
94°, 53%, 28%
CMYK
40, 0, 69, 58
Luminance
0.1196
Every format
| HEX | #416c21 |
| RGB | rgb(65, 108, 33) |
| HSL | hsl(94, 53%, 28%) |
| CMYK | cmyk(40%, 0%, 69%, 58%) |
| LAB | lab(41.1 -28.9 36.0) |
| LCH | lch(41.1 46.1 128.8) |
| OKLCH | oklch(0.483 0.115 134.4) |
Copy-ready code
/* CSS */
color: #416c21;
background-color: #416c21;
/* Tailwind (arbitrary) */
class="text-[#416c21] bg-[#416c21]"
/* SCSS */
$brand: #416c21;
/* SwiftUI */
Color(red: 0.255, green: 0.424, blue: 0.129)
/* Android */
Color.parseColor("#416c21")Accessibility — WCAG contrast
Aa
#416c21 on white: 6.19:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#416c21 on black: 3.39:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.5%
Green42.4%
Blue12.9%
CMYK percentages
Cyan39.8%
Magenta0.0%
Yellow69.4%
Key (black)57.6%
Color previews
#416c21 text on a black background
contrast 3.39:1
Card sample
#416c21 text on a white background
contrast 6.19:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #416c21;
Background color
Panel with #416c21 background
background-color: #416c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #416c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(65, 108, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 108, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #416c21; background: linear-gradient(135deg, #416c21, #216C33);