#cfda98
a light, vivid green · cool · closest name: khaki
RGB
207, 218, 152
HSL
70°, 47%, 73%
CMYK
5, 0, 30, 15
Luminance
0.6568
Every format
| HEX | #cfda98 |
| RGB | rgb(207, 218, 152) |
| HSL | hsl(70, 47%, 73%) |
| CMYK | cmyk(5%, 0%, 30%, 15%) |
| LAB | lab(84.8 -14.3 31.3) |
| LCH | lch(84.8 34.4 114.5) |
| OKLCH | oklch(0.864 0.087 116.0) |
Copy-ready code
/* CSS */
color: #cfda98;
background-color: #cfda98;
/* Tailwind (arbitrary) */
class="text-[#cfda98] bg-[#cfda98]"
/* SCSS */
$brand: #cfda98;
/* SwiftUI */
Color(red: 0.812, green: 0.855, blue: 0.596)
/* Android */
Color.parseColor("#cfda98")Accessibility — WCAG contrast
Aa
#cfda98 on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfda98 on black: 14.14:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green85.5%
Blue59.6%
CMYK percentages
Cyan5.0%
Magenta0.0%
Yellow30.3%
Key (black)14.5%
Color previews
#cfda98 text on a black background
contrast 14.14:1
Card sample
#cfda98 text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfda98;
Background color
Panel with #cfda98 background
background-color: #cfda98;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfda98;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 218, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 218, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfda98; background: linear-gradient(135deg, #cfda98, #A3DA98);