#cdf70c
a balanced, electric green · cool · closest name: yellow
RGB
205, 247, 12
HSL
71°, 94%, 51%
CMYK
17, 0, 95, 3
Luminance
0.7953
Every format
| HEX | #cdf70c |
| RGB | rgb(205, 247, 12) |
| HSL | hsl(71, 94%, 51%) |
| CMYK | cmyk(17%, 0%, 95%, 3%) |
| LAB | lab(91.5 -37.9 87.8) |
| LCH | lch(91.5 95.6 113.4) |
| OKLCH | oklch(0.914 0.219 121.4) |
Copy-ready code
/* CSS */
color: #cdf70c;
background-color: #cdf70c;
/* Tailwind (arbitrary) */
class="text-[#cdf70c] bg-[#cdf70c]"
/* SCSS */
$brand: #cdf70c;
/* SwiftUI */
Color(red: 0.804, green: 0.969, blue: 0.047)
/* Android */
Color.parseColor("#cdf70c")Accessibility — WCAG contrast
Aa
#cdf70c on white: 1.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf70c on black: 16.91:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green96.9%
Blue4.7%
CMYK percentages
Cyan17.0%
Magenta0.0%
Yellow95.1%
Key (black)3.1%
Color previews
#cdf70c text on a black background
contrast 16.91:1
Card sample
#cdf70c text on a white background
contrast 1.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf70c;
Background color
Panel with #cdf70c background
background-color: #cdf70c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf70c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 247, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 247, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf70c; background: linear-gradient(135deg, #cdf70c, #31F70C);