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