#cfda30
a balanced, vivid yellow · cool · closest name: yellow
RGB
207, 218, 48
HSL
64°, 70%, 52%
CMYK
5, 0, 78, 15
Luminance
0.6362
Every format
| HEX | #cfda30 |
| RGB | rgb(207, 218, 48) |
| HSL | hsl(64, 70%, 52%) |
| CMYK | cmyk(5%, 0%, 78%, 15%) |
| LAB | lab(83.8 -22.8 75.2) |
| LCH | lch(83.8 78.5 106.9) |
| OKLCH | oklch(0.852 0.178 113.5) |
Copy-ready code
/* CSS */
color: #cfda30;
background-color: #cfda30;
/* Tailwind (arbitrary) */
class="text-[#cfda30] bg-[#cfda30]"
/* SCSS */
$brand: #cfda30;
/* SwiftUI */
Color(red: 0.812, green: 0.855, blue: 0.188)
/* Android */
Color.parseColor("#cfda30")Accessibility — WCAG contrast
Aa
#cfda30 on white: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfda30 on black: 13.72:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green85.5%
Blue18.8%
CMYK percentages
Cyan5.0%
Magenta0.0%
Yellow78.0%
Key (black)14.5%
Color previews
#cfda30 text on a black background
contrast 13.72:1
Card sample
#cfda30 text on a white background
contrast 1.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfda30;
Background color
Panel with #cfda30 background
background-color: #cfda30;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfda30;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 218, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 218, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfda30; background: linear-gradient(135deg, #cfda30, #5EDA30);