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