#cdf00f
a balanced, electric yellow · cool · closest name: yellow
RGB
205, 240, 15
HSL
69°, 88%, 50%
CMYK
15, 0, 94, 6
Luminance
0.7533
Every format
| HEX | #cdf00f |
| RGB | rgb(205, 240, 15) |
| HSL | hsl(69, 88%, 50%) |
| CMYK | cmyk(15%, 0%, 94%, 6%) |
| LAB | lab(89.5 -34.7 86.0) |
| LCH | lch(89.5 92.8 112.0) |
| OKLCH | oklch(0.898 0.211 119.9) |
Copy-ready code
/* CSS */
color: #cdf00f;
background-color: #cdf00f;
/* Tailwind (arbitrary) */
class="text-[#cdf00f] bg-[#cdf00f]"
/* SCSS */
$brand: #cdf00f;
/* SwiftUI */
Color(red: 0.804, green: 0.941, blue: 0.059)
/* Android */
Color.parseColor("#cdf00f")Accessibility — WCAG contrast
Aa
#cdf00f on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cdf00f on black: 16.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green94.1%
Blue5.9%
CMYK percentages
Cyan14.6%
Magenta0.0%
Yellow93.8%
Key (black)5.9%
Color previews
#cdf00f text on a black background
contrast 16.07:1
Card sample
#cdf00f text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cdf00f;
Background color
Panel with #cdf00f background
background-color: #cdf00f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cdf00f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 240, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 240, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf00f; background: linear-gradient(135deg, #cdf00f, #37F00F);