#eccd22
a balanced, electric yellow · cool · closest name: gold
RGB
236, 205, 34
HSL
51°, 84%, 53%
CMYK
0, 13, 86, 8
Luminance
0.6161
Every format
| HEX | #eccd22 |
| RGB | rgb(236, 205, 34) |
| HSL | hsl(51, 84%, 53%) |
| CMYK | cmyk(0%, 13%, 86%, 8%) |
| LAB | lab(82.7 -4.5 78.7) |
| LCH | lch(82.7 78.8 93.3) |
| OKLCH | oklch(0.849 0.169 97.6) |
Copy-ready code
/* CSS */
color: #eccd22;
background-color: #eccd22;
/* Tailwind (arbitrary) */
class="text-[#eccd22] bg-[#eccd22]"
/* SCSS */
$brand: #eccd22;
/* SwiftUI */
Color(red: 0.925, green: 0.804, blue: 0.133)
/* Android */
Color.parseColor("#eccd22")Accessibility — WCAG contrast
Aa
#eccd22 on white: 1.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccd22 on black: 13.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green80.4%
Blue13.3%
CMYK percentages
Cyan0.0%
Magenta13.1%
Yellow85.6%
Key (black)7.5%
Color previews
#eccd22 text on a black background
contrast 13.32:1
Card sample
#eccd22 text on a white background
contrast 1.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccd22;
Background color
Panel with #eccd22 background
background-color: #eccd22;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccd22;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 205, 34, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 205, 34, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccd22; background: linear-gradient(135deg, #eccd22, #84EC22);