#eccf73
a light, electric yellow · cool · closest name: khaki
RGB
236, 207, 115
HSL
46°, 76%, 69%
CMYK
0, 12, 51, 8
Luminance
0.6370
Every format
| HEX | #eccf73 |
| RGB | rgb(236, 207, 115) |
| HSL | hsl(46, 76%, 69%) |
| CMYK | cmyk(0%, 12%, 51%, 8%) |
| LAB | lab(83.8 -1.3 49.0) |
| LCH | lch(83.8 49.1 91.5) |
| OKLCH | oklch(0.860 0.117 92.3) |
Copy-ready code
/* CSS */
color: #eccf73;
background-color: #eccf73;
/* Tailwind (arbitrary) */
class="text-[#eccf73] bg-[#eccf73]"
/* SCSS */
$brand: #eccf73;
/* SwiftUI */
Color(red: 0.925, green: 0.812, blue: 0.451)
/* Android */
Color.parseColor("#eccf73")Accessibility — WCAG contrast
Aa
#eccf73 on white: 1.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccf73 on black: 13.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green81.2%
Blue45.1%
CMYK percentages
Cyan0.0%
Magenta12.3%
Yellow51.3%
Key (black)7.5%
Color previews
#eccf73 text on a black background
contrast 13.74:1
Card sample
#eccf73 text on a white background
contrast 1.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccf73;
Background color
Panel with #eccf73 background
background-color: #eccf73;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccf73;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 207, 115, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 207, 115, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccf73; background: linear-gradient(135deg, #eccf73, #B8EC73);