#eccf7d
a light, vivid yellow · warm · closest name: khaki
RGB
236, 207, 125
HSL
44°, 75%, 71%
CMYK
0, 12, 47, 8
Luminance
0.6394
Every format
| HEX | #eccf7d |
| RGB | rgb(236, 207, 125) |
| HSL | hsl(44, 75%, 71%) |
| CMYK | cmyk(0%, 12%, 47%, 8%) |
| LAB | lab(83.9 -0.4 44.3) |
| LCH | lch(83.9 44.3 90.5) |
| OKLCH | oklch(0.862 0.107 90.6) |
Copy-ready code
/* CSS */
color: #eccf7d;
background-color: #eccf7d;
/* Tailwind (arbitrary) */
class="text-[#eccf7d] bg-[#eccf7d]"
/* SCSS */
$brand: #eccf7d;
/* SwiftUI */
Color(red: 0.925, green: 0.812, blue: 0.490)
/* Android */
Color.parseColor("#eccf7d")Accessibility — WCAG contrast
Aa
#eccf7d on white: 1.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccf7d on black: 13.79:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green81.2%
Blue49.0%
CMYK percentages
Cyan0.0%
Magenta12.3%
Yellow47.0%
Key (black)7.5%
Color previews
#eccf7d text on a black background
contrast 13.79:1
Card sample
#eccf7d text on a white background
contrast 1.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccf7d;
Background color
Panel with #eccf7d background
background-color: #eccf7d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccf7d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 207, 125, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 207, 125, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccf7d; background: linear-gradient(135deg, #eccf7d, #BFEC7D);