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