#246f21
a dark, vivid green · cool · closest name: forestgreen
RGB
36, 111, 33
HSL
118°, 54%, 28%
CMYK
68, 0, 70, 57
Luminance
0.1185
Every format
| HEX | #246f21 |
| RGB | rgb(36, 111, 33) |
| HSL | hsl(118, 54%, 28%) |
| CMYK | cmyk(68%, 0%, 70%, 57%) |
| LAB | lab(41.0 -39.2 35.4) |
| LCH | lch(41.0 52.8 137.9) |
| OKLCH | oklch(0.478 0.134 142.6) |
Copy-ready code
/* CSS */
color: #246f21;
background-color: #246f21;
/* Tailwind (arbitrary) */
class="text-[#246f21] bg-[#246f21]"
/* SCSS */
$brand: #246f21;
/* SwiftUI */
Color(red: 0.141, green: 0.435, blue: 0.129)
/* Android */
Color.parseColor("#246f21")Accessibility — WCAG contrast
Aa
#246f21 on white: 6.23:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#246f21 on black: 3.37:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.1%
Green43.5%
Blue12.9%
CMYK percentages
Cyan67.6%
Magenta0.0%
Yellow70.3%
Key (black)56.5%
Color previews
#246f21 text on a black background
contrast 3.37:1
Card sample
#246f21 text on a white background
contrast 6.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #246f21;
Background color
Panel with #246f21 background
background-color: #246f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #246f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(36, 111, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(36, 111, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #246f21; background: linear-gradient(135deg, #246f21, #216F52);