#cfdf98
a light, vivid green · cool · closest name: khaki
RGB
207, 223, 152
HSL
74°, 53%, 74%
CMYK
7, 0, 32, 13
Luminance
0.6831
Every format
| HEX | #cfdf98 |
| RGB | rgb(207, 223, 152) |
| HSL | hsl(74, 53%, 74%) |
| CMYK | cmyk(7%, 0%, 32%, 13%) |
| LAB | lab(86.2 -16.8 33.1) |
| LCH | lch(86.2 37.1 116.9) |
| OKLCH | oklch(0.875 0.094 118.7) |
Copy-ready code
/* CSS */
color: #cfdf98;
background-color: #cfdf98;
/* Tailwind (arbitrary) */
class="text-[#cfdf98] bg-[#cfdf98]"
/* SCSS */
$brand: #cfdf98;
/* SwiftUI */
Color(red: 0.812, green: 0.875, blue: 0.596)
/* Android */
Color.parseColor("#cfdf98")Accessibility — WCAG contrast
Aa
#cfdf98 on white: 1.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfdf98 on black: 14.66:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green87.5%
Blue59.6%
CMYK percentages
Cyan7.2%
Magenta0.0%
Yellow31.8%
Key (black)12.5%
Color previews
#cfdf98 text on a black background
contrast 14.66:1
Card sample
#cfdf98 text on a white background
contrast 1.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfdf98;
Background color
Panel with #cfdf98 background
background-color: #cfdf98;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfdf98;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 223, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 223, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdf98; background: linear-gradient(135deg, #cfdf98, #A0DF98);