#cecf8c
a light, soft yellow · cool · closest name: khaki
RGB
206, 207, 140
HSL
61°, 41%, 68%
CMYK
1, 0, 32, 19
Luminance
0.5964
Every format
| HEX | #cecf8c |
| RGB | rgb(206, 207, 140) |
| HSL | hsl(61, 41%, 68%) |
| CMYK | cmyk(1%, 0%, 32%, 19%) |
| LAB | lab(81.6 -10.6 33.3) |
| LCH | lch(81.6 34.9 107.7) |
| OKLCH | oklch(0.838 0.087 108.9) |
Copy-ready code
/* CSS */
color: #cecf8c;
background-color: #cecf8c;
/* Tailwind (arbitrary) */
class="text-[#cecf8c] bg-[#cecf8c]"
/* SCSS */
$brand: #cecf8c;
/* SwiftUI */
Color(red: 0.808, green: 0.812, blue: 0.549)
/* Android */
Color.parseColor("#cecf8c")Accessibility — WCAG contrast
Aa
#cecf8c on white: 1.62:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cecf8c on black: 12.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green81.2%
Blue54.9%
CMYK percentages
Cyan0.5%
Magenta0.0%
Yellow32.4%
Key (black)18.8%
Color previews
#cecf8c text on a black background
contrast 12.93:1
Card sample
#cecf8c text on a white background
contrast 1.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cecf8c;
Background color
Panel with #cecf8c background
background-color: #cecf8c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cecf8c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 207, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 207, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cecf8c; background: linear-gradient(135deg, #cecf8c, #A1CF8C);