#7ace28
a balanced, vivid green · cool · closest name: forestgreen
RGB
122, 206, 40
HSL
90°, 68%, 48%
CMYK
41, 0, 81, 19
Luminance
0.4843
Every format
| HEX | #7ace28 |
| RGB | rgb(122, 206, 40) |
| HSL | hsl(90, 68%, 48%) |
| CMYK | cmyk(41%, 0%, 81%, 19%) |
| LAB | lab(75.1 -50.4 67.6) |
| LCH | lch(75.1 84.3 126.7) |
| OKLCH | oklch(0.768 0.206 133.7) |
Copy-ready code
/* CSS */
color: #7ace28;
background-color: #7ace28;
/* Tailwind (arbitrary) */
class="text-[#7ace28] bg-[#7ace28]"
/* SCSS */
$brand: #7ace28;
/* SwiftUI */
Color(red: 0.478, green: 0.808, blue: 0.157)
/* Android */
Color.parseColor("#7ace28")Accessibility — WCAG contrast
Aa
#7ace28 on white: 1.97:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#7ace28 on black: 10.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red47.8%
Green80.8%
Blue15.7%
CMYK percentages
Cyan40.8%
Magenta0.0%
Yellow80.6%
Key (black)19.2%
Color previews
#7ace28 text on a black background
contrast 10.69:1
Card sample
#7ace28 text on a white background
contrast 1.97:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7ace28;
Background color
Panel with #7ace28 background
background-color: #7ace28;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7ace28;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(122, 206, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(122, 206, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7ace28; background: linear-gradient(135deg, #7ace28, #28CE45);