#eccf7b
a light, vivid yellow · warm · closest name: khaki
RGB
236, 207, 123
HSL
45°, 75%, 70%
CMYK
0, 12, 48, 8
Luminance
0.6389
Every format
| HEX | #eccf7b |
| RGB | rgb(236, 207, 123) |
| HSL | hsl(45, 75%, 70%) |
| CMYK | cmyk(0%, 12%, 48%, 8%) |
| LAB | lab(83.9 -0.6 45.3) |
| LCH | lch(83.9 45.3 90.7) |
| OKLCH | oklch(0.861 0.109 91.0) |
Copy-ready code
/* CSS */
color: #eccf7b;
background-color: #eccf7b;
/* Tailwind (arbitrary) */
class="text-[#eccf7b] bg-[#eccf7b]"
/* SCSS */
$brand: #eccf7b;
/* SwiftUI */
Color(red: 0.925, green: 0.812, blue: 0.482)
/* Android */
Color.parseColor("#eccf7b")Accessibility — WCAG contrast
Aa
#eccf7b on white: 1.52:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#eccf7b on black: 13.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green81.2%
Blue48.2%
CMYK percentages
Cyan0.0%
Magenta12.3%
Yellow47.9%
Key (black)7.5%
Color previews
#eccf7b text on a black background
contrast 13.78:1
Card sample
#eccf7b text on a white background
contrast 1.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #eccf7b;
Background color
Panel with #eccf7b background
background-color: #eccf7b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #eccf7b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 207, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 207, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #eccf7b; background: linear-gradient(135deg, #eccf7b, #BEEC7B);