#cfff28
a balanced, electric green · cool · closest name: yellow
RGB
207, 255, 40
HSL
73°, 100%, 58%
CMYK
19, 0, 84, 0
Luminance
0.8494
Every format
| HEX | #cfff28 |
| RGB | rgb(207, 255, 40) |
| HSL | hsl(73, 100%, 58%) |
| CMYK | cmyk(19%, 0%, 84%, 0%) |
| LAB | lab(93.9 -40.2 85.8) |
| LCH | lch(93.9 94.7 115.1) |
| OKLCH | oklch(0.933 0.220 122.7) |
Copy-ready code
/* CSS */
color: #cfff28;
background-color: #cfff28;
/* Tailwind (arbitrary) */
class="text-[#cfff28] bg-[#cfff28]"
/* SCSS */
$brand: #cfff28;
/* SwiftUI */
Color(red: 0.812, green: 1.000, blue: 0.157)
/* Android */
Color.parseColor("#cfff28")Accessibility — WCAG contrast
Aa
#cfff28 on white: 1.17:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfff28 on black: 17.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green100.0%
Blue15.7%
CMYK percentages
Cyan18.8%
Magenta0.0%
Yellow84.3%
Key (black)0.0%
Color previews
#cfff28 text on a black background
contrast 17.99:1
Card sample
#cfff28 text on a white background
contrast 1.17:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfff28;
Background color
Panel with #cfff28 background
background-color: #cfff28;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfff28;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 255, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 255, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfff28; background: linear-gradient(135deg, #cfff28, #3FFF28);