#eccc7f
a light, vivid yellow · warm · closest name: khaki
RGB
236, 204, 127
HSL
42°, 74%, 71%
CMYK
0, 14, 46, 8
Luminance
0.6255
Every format
| HEX | #eccc7f |
| RGB | rgb(236, 204, 127) |
| HSL | hsl(42, 74%, 71%) |
| CMYK | cmyk(0%, 14%, 46%, 8%) |
| LAB | lab(83.2 1.3 42.4) |
| LCH | lch(83.2 42.4 88.2) |
| OKLCH | oklch(0.856 0.103 87.7) |
Copy-ready code
/* CSS */
color: #eccc7f;
background-color: #eccc7f;
/* Tailwind (arbitrary) */
class="text-[#eccc7f] bg-[#eccc7f]"
/* SCSS */
$brand: #eccc7f;
/* SwiftUI */
Color(red: 0.925, green: 0.800, blue: 0.498)
/* Android */
Color.parseColor("#eccc7f")Accessibility — WCAG contrast
Aa
#eccc7f on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccc7f on black: 13.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green80.0%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta13.6%
Yellow46.2%
Key (black)7.5%
Color previews
#eccc7f text on a black background
contrast 13.51:1
Card sample
#eccc7f text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccc7f;
Background color
Panel with #eccc7f background
background-color: #eccc7f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccc7f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 204, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 204, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccc7f; background: linear-gradient(135deg, #eccc7f, #C3EC7F);