#cdf30c
a balanced, electric yellow · cool · closest name: yellow
RGB
205, 243, 12
HSL
70°, 91%, 50%
CMYK
16, 0, 95, 5
Luminance
0.7711
Every format
| HEX | #cdf30c |
| RGB | rgb(205, 243, 12) |
| HSL | hsl(70, 91%, 50%) |
| CMYK | cmyk(16%, 0%, 95%, 5%) |
| LAB | lab(90.4 -36.1 87.0) |
| LCH | lch(90.4 94.2 112.6) |
| OKLCH | oklch(0.905 0.214 120.5) |
Copy-ready code
/* CSS */
color: #cdf30c;
background-color: #cdf30c;
/* Tailwind (arbitrary) */
class="text-[#cdf30c] bg-[#cdf30c]"
/* SCSS */
$brand: #cdf30c;
/* SwiftUI */
Color(red: 0.804, green: 0.953, blue: 0.047)
/* Android */
Color.parseColor("#cdf30c")Accessibility — WCAG contrast
Aa
#cdf30c on white: 1.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf30c on black: 16.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green95.3%
Blue4.7%
CMYK percentages
Cyan15.6%
Magenta0.0%
Yellow95.1%
Key (black)4.7%
Color previews
#cdf30c text on a black background
contrast 16.42:1
Card sample
#cdf30c text on a white background
contrast 1.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf30c;
Background color
Panel with #cdf30c background
background-color: #cdf30c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf30c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 243, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 243, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf30c; background: linear-gradient(135deg, #cdf30c, #33F30C);