#cfde21
a balanced, vivid yellow · cool · closest name: yellow
RGB
207, 222, 33
HSL
65°, 74%, 50%
CMYK
7, 0, 85, 13
Luminance
0.6562
Every format
| HEX | #cfde21 |
| RGB | rgb(207, 222, 33) |
| HSL | hsl(65, 74%, 50%) |
| CMYK | cmyk(7%, 0%, 85%, 13%) |
| LAB | lab(84.8 -25.2 79.7) |
| LCH | lch(84.8 83.5 107.6) |
| OKLCH | oklch(0.860 0.188 114.7) |
Copy-ready code
/* CSS */
color: #cfde21;
background-color: #cfde21;
/* Tailwind (arbitrary) */
class="text-[#cfde21] bg-[#cfde21]"
/* SCSS */
$brand: #cfde21;
/* SwiftUI */
Color(red: 0.812, green: 0.871, blue: 0.129)
/* Android */
Color.parseColor("#cfde21")Accessibility — WCAG contrast
Aa
#cfde21 on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfde21 on black: 14.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green87.1%
Blue12.9%
CMYK percentages
Cyan6.8%
Magenta0.0%
Yellow85.1%
Key (black)12.9%
Color previews
#cfde21 text on a black background
contrast 14.12:1
Card sample
#cfde21 text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfde21;
Background color
Panel with #cfde21 background
background-color: #cfde21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfde21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 222, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 222, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfde21; background: linear-gradient(135deg, #cfde21, #51DE21);