#ccda39
a balanced, vivid yellow · cool · closest name: yellow
RGB
204, 218, 57
HSL
65°, 69%, 54%
CMYK
6, 0, 74, 15
Luminance
0.6328
Every format
| HEX | #ccda39 |
| RGB | rgb(204, 218, 57) |
| HSL | hsl(65, 69%, 54%) |
| CMYK | cmyk(6%, 0%, 74%, 15%) |
| LAB | lab(83.6 -23.7 72.2) |
| LCH | lch(83.6 76.0 108.2) |
| OKLCH | oklch(0.850 0.175 114.5) |
Copy-ready code
/* CSS */
color: #ccda39;
background-color: #ccda39;
/* Tailwind (arbitrary) */
class="text-[#ccda39] bg-[#ccda39]"
/* SCSS */
$brand: #ccda39;
/* SwiftUI */
Color(red: 0.800, green: 0.855, blue: 0.224)
/* Android */
Color.parseColor("#ccda39")Accessibility — WCAG contrast
Aa
#ccda39 on white: 1.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccda39 on black: 13.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green85.5%
Blue22.4%
CMYK percentages
Cyan6.4%
Magenta0.0%
Yellow73.9%
Key (black)14.5%
Color previews
#ccda39 text on a black background
contrast 13.66:1
Card sample
#ccda39 text on a white background
contrast 1.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccda39;
Background color
Panel with #ccda39 background
background-color: #ccda39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccda39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 218, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 218, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccda39; background: linear-gradient(135deg, #ccda39, #61DA39);