#eceb5d
a balanced, electric yellow · cool · closest name: khaki
RGB
236, 235, 93
HSL
60°, 79%, 65%
CMYK
0, 0, 61, 8
Luminance
0.7804
Every format
| HEX | #eceb5d |
| RGB | rgb(236, 235, 93) |
| HSL | hsl(60, 79%, 65%) |
| CMYK | cmyk(0%, 0%, 61%, 8%) |
| LAB | lab(90.8 -17.0 66.9) |
| LCH | lch(90.8 69.0 104.2) |
| OKLCH | oklch(0.915 0.161 108.8) |
Copy-ready code
/* CSS */
color: #eceb5d;
background-color: #eceb5d;
/* Tailwind (arbitrary) */
class="text-[#eceb5d] bg-[#eceb5d]"
/* SCSS */
$brand: #eceb5d;
/* SwiftUI */
Color(red: 0.925, green: 0.922, blue: 0.365)
/* Android */
Color.parseColor("#eceb5d")Accessibility — WCAG contrast
Aa
#eceb5d on white: 1.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eceb5d on black: 16.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green92.2%
Blue36.5%
CMYK percentages
Cyan0.0%
Magenta0.4%
Yellow60.6%
Key (black)7.5%
Color previews
#eceb5d text on a black background
contrast 16.61:1
Card sample
#eceb5d text on a white background
contrast 1.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eceb5d;
Background color
Panel with #eceb5d background
background-color: #eceb5d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eceb5d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 235, 93, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 235, 93, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eceb5d; background: linear-gradient(135deg, #eceb5d, #8EEC5D);