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