#eccf52
a balanced, electric yellow · cool · closest name: khaki
RGB
236, 207, 82
HSL
49°, 80%, 62%
CMYK
0, 12, 65, 8
Luminance
0.6307
Every format
| HEX | #eccf52 |
| RGB | rgb(236, 207, 82) |
| HSL | hsl(49, 80%, 62%) |
| CMYK | cmyk(0%, 12%, 65%, 8%) |
| LAB | lab(83.5 -3.6 63.7) |
| LCH | lch(83.5 63.8 93.3) |
| OKLCH | oklch(0.856 0.145 96.1) |
Copy-ready code
/* CSS */
color: #eccf52;
background-color: #eccf52;
/* Tailwind (arbitrary) */
class="text-[#eccf52] bg-[#eccf52]"
/* SCSS */
$brand: #eccf52;
/* SwiftUI */
Color(red: 0.925, green: 0.812, blue: 0.322)
/* Android */
Color.parseColor("#eccf52")Accessibility — WCAG contrast
Aa
#eccf52 on white: 1.54:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccf52 on black: 13.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green81.2%
Blue32.2%
CMYK percentages
Cyan0.0%
Magenta12.3%
Yellow65.3%
Key (black)7.5%
Color previews
#eccf52 text on a black background
contrast 13.61:1
Card sample
#eccf52 text on a white background
contrast 1.54:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccf52;
Background color
Panel with #eccf52 background
background-color: #eccf52;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccf52;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 207, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 207, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccf52; background: linear-gradient(135deg, #eccf52, #A2EC52);