#248b21
a dark, vivid green · cool · “forestgreen”
RGB
36, 139, 33
HSL
118°, 62%, 34%
CMYK
74, 0, 76, 46
Luminance
0.1895
Every format
| HEX | #248b21 |
| RGB | rgb(36, 139, 33) |
| HSL | hsl(118, 62%, 34%) |
| CMYK | cmyk(74%, 0%, 76%, 46%) |
| LAB | lab(50.6 -49.3 45.4) |
| LCH | lch(50.6 67.1 137.3) |
| OKLCH | oklch(0.558 0.169 142.6) |
Copy-ready code
/* CSS */
color: #248b21;
background-color: #248b21;
/* Tailwind (arbitrary) */
class="text-[#248b21] bg-[#248b21]"
/* SCSS */
$brand: #248b21;
/* SwiftUI */
Color(red: 0.141, green: 0.545, blue: 0.129)
/* Android */
Color.parseColor("#248b21")Accessibility — WCAG contrast
Aa
#248b21 on white: 4.38:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#248b21 on black: 4.79:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red14.1%
Green54.5%
Blue12.9%
CMYK percentages
Cyan74.1%
Magenta0.0%
Yellow76.3%
Key (black)45.5%
Color previews
#248b21 text on a black background
contrast 4.79:1
Card sample
#248b21 text on a white background
contrast 4.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #248b21;
Background color
Panel with #248b21 background
background-color: #248b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #248b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(36, 139, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(36, 139, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #248b21; background: linear-gradient(135deg, #248b21, #218B65);