#7af31f
a balanced, electric green · cool · closest name: lime
RGB
122, 243, 31
HSL
94°, 90%, 54%
CMYK
50, 0, 87, 5
Luminance
0.6834
Every format
| HEX | #7af31f |
| RGB | rgb(122, 243, 31) |
| HSL | hsl(94, 90%, 54%) |
| CMYK | cmyk(50%, 0%, 87%, 5%) |
| LAB | lab(86.2 -64.7 79.3) |
| LCH | lch(86.2 102.4 129.2) |
| OKLCH | oklch(0.859 0.250 136.3) |
Copy-ready code
/* CSS */
color: #7af31f;
background-color: #7af31f;
/* Tailwind (arbitrary) */
class="text-[#7af31f] bg-[#7af31f]"
/* SCSS */
$brand: #7af31f;
/* SwiftUI */
Color(red: 0.478, green: 0.953, blue: 0.122)
/* Android */
Color.parseColor("#7af31f")Accessibility — WCAG contrast
Aa
#7af31f on white: 1.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#7af31f on black: 14.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red47.8%
Green95.3%
Blue12.2%
CMYK percentages
Cyan49.8%
Magenta0.0%
Yellow87.2%
Key (black)4.7%
Color previews
#7af31f text on a black background
contrast 14.67:1
Card sample
#7af31f text on a white background
contrast 1.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7af31f;
Background color
Panel with #7af31f background
background-color: #7af31f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7af31f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(122, 243, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(122, 243, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7af31f; background: linear-gradient(135deg, #7af31f, #1FF351);