#eccf3d
a balanced, electric yellow · cool · closest name: gold
RGB
236, 207, 61
HSL
50°, 82%, 58%
CMYK
0, 12, 74, 8
Luminance
0.6280
Every format
| HEX | #eccf3d |
| RGB | rgb(236, 207, 61) |
| HSL | hsl(50, 82%, 58%) |
| CMYK | cmyk(0%, 12%, 74%, 8%) |
| LAB | lab(83.3 -4.7 71.6) |
| LCH | lch(83.3 71.7 93.7) |
| OKLCH | oklch(0.855 0.159 97.4) |
Copy-ready code
/* CSS */
color: #eccf3d;
background-color: #eccf3d;
/* Tailwind (arbitrary) */
class="text-[#eccf3d] bg-[#eccf3d]"
/* SCSS */
$brand: #eccf3d;
/* SwiftUI */
Color(red: 0.925, green: 0.812, blue: 0.239)
/* Android */
Color.parseColor("#eccf3d")Accessibility — WCAG contrast
Aa
#eccf3d on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccf3d on black: 13.56:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green81.2%
Blue23.9%
CMYK percentages
Cyan0.0%
Magenta12.3%
Yellow74.2%
Key (black)7.5%
Color previews
#eccf3d text on a black background
contrast 13.56:1
Card sample
#eccf3d text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccf3d;
Background color
Panel with #eccf3d background
background-color: #eccf3d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccf3d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 207, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 207, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccf3d; background: linear-gradient(135deg, #eccf3d, #94EC3D);