#cddf46
a balanced, vivid yellow · cool · closest name: yellow
RGB
205, 223, 70
HSL
67°, 71%, 58%
CMYK
8, 0, 69, 13
Luminance
0.6620
Every format
| HEX | #cddf46 |
| RGB | rgb(205, 223, 70) |
| HSL | hsl(67, 71%, 58%) |
| CMYK | cmyk(8%, 0%, 69%, 13%) |
| LAB | lab(85.1 -25.1 69.2) |
| LCH | lch(85.1 73.6 109.9) |
| OKLCH | oklch(0.863 0.172 115.9) |
Copy-ready code
/* CSS */
color: #cddf46;
background-color: #cddf46;
/* Tailwind (arbitrary) */
class="text-[#cddf46] bg-[#cddf46]"
/* SCSS */
$brand: #cddf46;
/* SwiftUI */
Color(red: 0.804, green: 0.875, blue: 0.275)
/* Android */
Color.parseColor("#cddf46")Accessibility — WCAG contrast
Aa
#cddf46 on white: 1.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cddf46 on black: 14.24:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green87.5%
Blue27.5%
CMYK percentages
Cyan8.1%
Magenta0.0%
Yellow68.6%
Key (black)12.5%
Color previews
#cddf46 text on a black background
contrast 14.24:1
Card sample
#cddf46 text on a white background
contrast 1.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cddf46;
Background color
Panel with #cddf46 background
background-color: #cddf46;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cddf46;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 223, 70, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 223, 70, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cddf46; background: linear-gradient(135deg, #cddf46, #67DF46);