#eceb7f
a light, vivid yellow · cool · closest name: khaki
RGB
236, 235, 127
HSL
59°, 74%, 71%
CMYK
0, 0, 46, 8
Luminance
0.7878
Every format
| HEX | #eceb7f |
| RGB | rgb(236, 235, 127) |
| HSL | hsl(59, 74%, 71%) |
| CMYK | cmyk(0%, 0%, 46%, 8%) |
| LAB | lab(91.1 -14.3 52.2) |
| LCH | lch(91.1 54.1 105.3) |
| OKLCH | oklch(0.919 0.131 108.3) |
Copy-ready code
/* CSS */
color: #eceb7f;
background-color: #eceb7f;
/* Tailwind (arbitrary) */
class="text-[#eceb7f] bg-[#eceb7f]"
/* SCSS */
$brand: #eceb7f;
/* SwiftUI */
Color(red: 0.925, green: 0.922, blue: 0.498)
/* Android */
Color.parseColor("#eceb7f")Accessibility — WCAG contrast
Aa
#eceb7f on white: 1.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eceb7f on black: 16.76:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green92.2%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta0.4%
Yellow46.2%
Key (black)7.5%
Color previews
#eceb7f text on a black background
contrast 16.76:1
Card sample
#eceb7f text on a white background
contrast 1.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eceb7f;
Background color
Panel with #eceb7f background
background-color: #eceb7f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eceb7f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 235, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 235, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eceb7f; background: linear-gradient(135deg, #eceb7f, #A5EC7F);