#deffaf
a light, electric green · cool · closest name: khaki
RGB
222, 255, 175
HSL
85°, 100%, 84%
CMYK
13, 0, 31, 0
Luminance
0.9014
Every format
| HEX | #deffaf |
| RGB | rgb(222, 255, 175) |
| HSL | hsl(85, 100%, 84%) |
| CMYK | cmyk(13%, 0%, 31%, 0%) |
| LAB | lab(96.1 -23.8 34.8) |
| LCH | lch(96.1 42.2 124.4) |
| OKLCH | oklch(0.958 0.108 126.6) |
Copy-ready code
/* CSS */
color: #deffaf;
background-color: #deffaf;
/* Tailwind (arbitrary) */
class="text-[#deffaf] bg-[#deffaf]"
/* SCSS */
$brand: #deffaf;
/* SwiftUI */
Color(red: 0.871, green: 1.000, blue: 0.686)
/* Android */
Color.parseColor("#deffaf")Accessibility — WCAG contrast
Aa
#deffaf on white: 1.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#deffaf on black: 19.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green100.0%
Blue68.6%
CMYK percentages
Cyan12.9%
Magenta0.0%
Yellow31.4%
Key (black)0.0%
Color previews
#deffaf text on a black background
contrast 19.03:1
Card sample
#deffaf text on a white background
contrast 1.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #deffaf;
Background color
Panel with #deffaf background
background-color: #deffaf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #deffaf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 255, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 255, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #deffaf; background: linear-gradient(135deg, #deffaf, #AFFFB5);