#68ae21
a dark, vivid green · cool · closest name: forestgreen
RGB
104, 174, 33
HSL
90°, 68%, 41%
CMYK
40, 0, 81, 32
Luminance
0.3332
Every format
| HEX | #68ae21 |
| RGB | rgb(104, 174, 33) |
| HSL | hsl(90, 68%, 41%) |
| CMYK | cmyk(40%, 0%, 81%, 32%) |
| LAB | lab(64.4 -43.8 59.5) |
| LCH | lch(64.4 73.9 126.4) |
| OKLCH | oklch(0.679 0.180 133.3) |
Copy-ready code
/* CSS */
color: #68ae21;
background-color: #68ae21;
/* Tailwind (arbitrary) */
class="text-[#68ae21] bg-[#68ae21]"
/* SCSS */
$brand: #68ae21;
/* SwiftUI */
Color(red: 0.408, green: 0.682, blue: 0.129)
/* Android */
Color.parseColor("#68ae21")Accessibility — WCAG contrast
Aa
#68ae21 on white: 2.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#68ae21 on black: 7.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red40.8%
Green68.2%
Blue12.9%
CMYK percentages
Cyan40.2%
Magenta0.0%
Yellow81.0%
Key (black)31.8%
Color previews
#68ae21 text on a black background
contrast 7.66:1
Card sample
#68ae21 text on a white background
contrast 2.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #68ae21;
Background color
Panel with #68ae21 background
background-color: #68ae21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #68ae21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(104, 174, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(104, 174, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #68ae21; background: linear-gradient(135deg, #68ae21, #21AE38);