#eceb3f
a balanced, electric yellow · cool · closest name: yellow
RGB
236, 235, 63
HSL
60°, 82%, 59%
CMYK
0, 0, 73, 8
Luminance
0.7761
Every format
| HEX | #eceb3f |
| RGB | rgb(236, 235, 63) |
| HSL | hsl(60, 82%, 59%) |
| CMYK | cmyk(0%, 0%, 73%, 8%) |
| LAB | lab(90.6 -18.5 77.7) |
| LCH | lch(90.6 79.9 103.4) |
| OKLCH | oklch(0.913 0.181 109.2) |
Copy-ready code
/* CSS */
color: #eceb3f;
background-color: #eceb3f;
/* Tailwind (arbitrary) */
class="text-[#eceb3f] bg-[#eceb3f]"
/* SCSS */
$brand: #eceb3f;
/* SwiftUI */
Color(red: 0.925, green: 0.922, blue: 0.247)
/* Android */
Color.parseColor("#eceb3f")Accessibility — WCAG contrast
Aa
#eceb3f on white: 1.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eceb3f on black: 16.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green92.2%
Blue24.7%
CMYK percentages
Cyan0.0%
Magenta0.4%
Yellow73.3%
Key (black)7.5%
Color previews
#eceb3f text on a black background
contrast 16.52:1
Card sample
#eceb3f text on a white background
contrast 1.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eceb3f;
Background color
Panel with #eceb3f background
background-color: #eceb3f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eceb3f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 235, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 235, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eceb3f; background: linear-gradient(135deg, #eceb3f, #79EC3F);