#eccf36
a balanced, electric yellow · cool · closest name: gold
RGB
236, 207, 54
HSL
50°, 83%, 57%
CMYK
0, 12, 77, 8
Luminance
0.6272
Every format
| HEX | #eccf36 |
| RGB | rgb(236, 207, 54) |
| HSL | hsl(50, 83%, 57%) |
| CMYK | cmyk(0%, 12%, 77%, 8%) |
| LAB | lab(83.3 -5.0 73.8) |
| LCH | lch(83.3 74.0 93.8) |
| OKLCH | oklch(0.854 0.162 97.8) |
Copy-ready code
/* CSS */
color: #eccf36;
background-color: #eccf36;
/* Tailwind (arbitrary) */
class="text-[#eccf36] bg-[#eccf36]"
/* SCSS */
$brand: #eccf36;
/* SwiftUI */
Color(red: 0.925, green: 0.812, blue: 0.212)
/* Android */
Color.parseColor("#eccf36")Accessibility — WCAG contrast
Aa
#eccf36 on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccf36 on black: 13.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green81.2%
Blue21.2%
CMYK percentages
Cyan0.0%
Magenta12.3%
Yellow77.1%
Key (black)7.5%
Color previews
#eccf36 text on a black background
contrast 13.54:1
Card sample
#eccf36 text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccf36;
Background color
Panel with #eccf36 background
background-color: #eccf36;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccf36;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 207, 54, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 207, 54, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccf36; background: linear-gradient(135deg, #eccf36, #90EC36);