#eccf79
a light, electric yellow · warm · closest name: khaki
RGB
236, 207, 121
HSL
45°, 75%, 70%
CMYK
0, 12, 49, 8
Luminance
0.6384
Every format
| HEX | #eccf79 |
| RGB | rgb(236, 207, 121) |
| HSL | hsl(45, 75%, 70%) |
| CMYK | cmyk(0%, 12%, 49%, 8%) |
| LAB | lab(83.9 -0.8 46.2) |
| LCH | lch(83.9 46.2 90.9) |
| OKLCH | oklch(0.861 0.111 91.3) |
Copy-ready code
/* CSS */
color: #eccf79;
background-color: #eccf79;
/* Tailwind (arbitrary) */
class="text-[#eccf79] bg-[#eccf79]"
/* SCSS */
$brand: #eccf79;
/* SwiftUI */
Color(red: 0.925, green: 0.812, blue: 0.475)
/* Android */
Color.parseColor("#eccf79")Accessibility — WCAG contrast
Aa
#eccf79 on white: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccf79 on black: 13.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green81.2%
Blue47.5%
CMYK percentages
Cyan0.0%
Magenta12.3%
Yellow48.7%
Key (black)7.5%
Color previews
#eccf79 text on a black background
contrast 13.77:1
Card sample
#eccf79 text on a white background
contrast 1.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccf79;
Background color
Panel with #eccf79 background
background-color: #eccf79;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccf79;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 207, 121, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 207, 121, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccf79; background: linear-gradient(135deg, #eccf79, #BCEC79);