#7cf021
a balanced, electric green · cool · closest name: lime
RGB
124, 240, 33
HSL
94°, 87%, 54%
CMYK
48, 0, 86, 6
Luminance
0.6672
Every format
| HEX | #7cf021 |
| RGB | rgb(124, 240, 33) |
| HSL | hsl(94, 87%, 54%) |
| CMYK | cmyk(48%, 0%, 86%, 6%) |
| LAB | lab(85.4 -63.0 78.3) |
| LCH | lch(85.4 100.5 128.8) |
| OKLCH | oklch(0.853 0.245 135.9) |
Copy-ready code
/* CSS */
color: #7cf021;
background-color: #7cf021;
/* Tailwind (arbitrary) */
class="text-[#7cf021] bg-[#7cf021]"
/* SCSS */
$brand: #7cf021;
/* SwiftUI */
Color(red: 0.486, green: 0.941, blue: 0.129)
/* Android */
Color.parseColor("#7cf021")Accessibility — WCAG contrast
Aa
#7cf021 on white: 1.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#7cf021 on black: 14.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red48.6%
Green94.1%
Blue12.9%
CMYK percentages
Cyan48.3%
Magenta0.0%
Yellow86.3%
Key (black)5.9%
Color previews
#7cf021 text on a black background
contrast 14.34:1
Card sample
#7cf021 text on a white background
contrast 1.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7cf021;
Background color
Panel with #7cf021 background
background-color: #7cf021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7cf021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(124, 240, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 240, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7cf021; background: linear-gradient(135deg, #7cf021, #21F050);