#eccf8b
a light, vivid yellow · warm · closest name: khaki
RGB
236, 207, 139
HSL
42°, 72%, 74%
CMYK
0, 12, 41, 8
Luminance
0.6432
Every format
| HEX | #eccf8b |
| RGB | rgb(236, 207, 139) |
| HSL | hsl(42, 72%, 74%) |
| CMYK | cmyk(0%, 12%, 41%, 8%) |
| LAB | lab(84.1 1.0 37.5) |
| LCH | lch(84.1 37.5 88.5) |
| OKLCH | oklch(0.864 0.092 87.4) |
Copy-ready code
/* CSS */
color: #eccf8b;
background-color: #eccf8b;
/* Tailwind (arbitrary) */
class="text-[#eccf8b] bg-[#eccf8b]"
/* SCSS */
$brand: #eccf8b;
/* SwiftUI */
Color(red: 0.925, green: 0.812, blue: 0.545)
/* Android */
Color.parseColor("#eccf8b")Accessibility — WCAG contrast
Aa
#eccf8b on white: 1.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccf8b on black: 13.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green81.2%
Blue54.5%
CMYK percentages
Cyan0.0%
Magenta12.3%
Yellow41.1%
Key (black)7.5%
Color previews
#eccf8b text on a black background
contrast 13.86:1
Card sample
#eccf8b text on a white background
contrast 1.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccf8b;
Background color
Panel with #eccf8b background
background-color: #eccf8b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccf8b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 207, 139, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 207, 139, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccf8b; background: linear-gradient(135deg, #eccf8b, #C8EC8B);