#cddf50
a balanced, vivid yellow · cool · closest name: khaki
RGB
205, 223, 80
HSL
68°, 69%, 59%
CMYK
8, 0, 64, 13
Luminance
0.6633
Every format
| HEX | #cddf50 |
| RGB | rgb(205, 223, 80) |
| HSL | hsl(68, 69%, 59%) |
| CMYK | cmyk(8%, 0%, 64%, 13%) |
| LAB | lab(85.2 -24.5 65.5) |
| LCH | lch(85.2 69.9 110.5) |
| OKLCH | oklch(0.864 0.165 116.1) |
Copy-ready code
/* CSS */
color: #cddf50;
background-color: #cddf50;
/* Tailwind (arbitrary) */
class="text-[#cddf50] bg-[#cddf50]"
/* SCSS */
$brand: #cddf50;
/* SwiftUI */
Color(red: 0.804, green: 0.875, blue: 0.314)
/* Android */
Color.parseColor("#cddf50")Accessibility — WCAG contrast
Aa
#cddf50 on white: 1.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cddf50 on black: 14.27:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green87.5%
Blue31.4%
CMYK percentages
Cyan8.1%
Magenta0.0%
Yellow64.1%
Key (black)12.5%
Color previews
#cddf50 text on a black background
contrast 14.27:1
Card sample
#cddf50 text on a white background
contrast 1.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cddf50;
Background color
Panel with #cddf50 background
background-color: #cddf50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cddf50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 223, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 223, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cddf50; background: linear-gradient(135deg, #cddf50, #6EDF50);