#ececab
a light, vivid yellow · cool · closest name: khaki
RGB
236, 236, 171
HSL
60°, 63%, 80%
CMYK
0, 0, 28, 8
Luminance
0.8076
Every format
| HEX | #ececab |
| RGB | rgb(236, 236, 171) |
| HSL | hsl(60, 63%, 80%) |
| CMYK | cmyk(0%, 0%, 28%, 8%) |
| LAB | lab(92.0 -10.0 31.6) |
| LCH | lch(92.0 33.2 107.5) |
| OKLCH | oklch(0.928 0.083 107.9) |
Copy-ready code
/* CSS */
color: #ececab;
background-color: #ececab;
/* Tailwind (arbitrary) */
class="text-[#ececab] bg-[#ececab]"
/* SCSS */
$brand: #ececab;
/* SwiftUI */
Color(red: 0.925, green: 0.925, blue: 0.671)
/* Android */
Color.parseColor("#ececab")Accessibility — WCAG contrast
Aa
#ececab on white: 1.22:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ececab on black: 17.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red92.5%
Green92.5%
Blue67.1%
CMYK percentages
Cyan0.0%
Magenta0.0%
Yellow27.5%
Key (black)7.5%
Color previews
#ececab text on a black background
contrast 17.15:1
Card sample
#ececab text on a white background
contrast 1.22:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ececab;
Background color
Panel with #ececab background
background-color: #ececab;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ececab;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(236, 236, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 236, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ececab; background: linear-gradient(135deg, #ececab, #C1ECAB);