#ccdf2c
a balanced, vivid yellow · cool · closest name: yellow
RGB
204, 223, 44
HSL
66°, 74%, 52%
CMYK
9, 0, 80, 13
Luminance
0.6579
Every format
| HEX | #ccdf2c |
| RGB | rgb(204, 223, 44) |
| HSL | hsl(66, 74%, 52%) |
| CMYK | cmyk(9%, 0%, 80%, 13%) |
| LAB | lab(84.9 -26.6 77.1) |
| LCH | lch(84.9 81.6 109.0) |
| OKLCH | oklch(0.861 0.186 116.0) |
Copy-ready code
/* CSS */
color: #ccdf2c;
background-color: #ccdf2c;
/* Tailwind (arbitrary) */
class="text-[#ccdf2c] bg-[#ccdf2c]"
/* SCSS */
$brand: #ccdf2c;
/* SwiftUI */
Color(red: 0.800, green: 0.875, blue: 0.173)
/* Android */
Color.parseColor("#ccdf2c")Accessibility — WCAG contrast
Aa
#ccdf2c on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccdf2c on black: 14.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green87.5%
Blue17.3%
CMYK percentages
Cyan8.5%
Magenta0.0%
Yellow80.3%
Key (black)12.5%
Color previews
#ccdf2c text on a black background
contrast 14.16:1
Card sample
#ccdf2c text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccdf2c;
Background color
Panel with #ccdf2c background
background-color: #ccdf2c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccdf2c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 223, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf2c; background: linear-gradient(135deg, #ccdf2c, #55DF2C);