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