#cdf01f
a balanced, electric green · cool · closest name: yellow
RGB
205, 240, 31
HSL
70°, 87%, 53%
CMYK
15, 0, 87, 6
Luminance
0.7540
Every format
| HEX | #cdf01f |
| RGB | rgb(205, 240, 31) |
| HSL | hsl(70, 87%, 53%) |
| CMYK | cmyk(15%, 0%, 87%, 6%) |
| LAB | lab(89.6 -34.5 83.9) |
| LCH | lch(89.6 90.7 112.3) |
| OKLCH | oklch(0.898 0.208 120.0) |
Copy-ready code
/* CSS */
color: #cdf01f;
background-color: #cdf01f;
/* Tailwind (arbitrary) */
class="text-[#cdf01f] bg-[#cdf01f]"
/* SCSS */
$brand: #cdf01f;
/* SwiftUI */
Color(red: 0.804, green: 0.941, blue: 0.122)
/* Android */
Color.parseColor("#cdf01f")Accessibility — WCAG contrast
Aa
#cdf01f on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf01f on black: 16.08:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green94.1%
Blue12.2%
CMYK percentages
Cyan14.6%
Magenta0.0%
Yellow87.1%
Key (black)5.9%
Color previews
#cdf01f text on a black background
contrast 16.08:1
Card sample
#cdf01f text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf01f;
Background color
Panel with #cdf01f background
background-color: #cdf01f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf01f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 240, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 240, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf01f; background: linear-gradient(135deg, #cdf01f, #42F01F);