#cef396
a light, electric green · cool · closest name: khaki
RGB
206, 243, 150
HSL
84°, 80%, 77%
CMYK
15, 0, 38, 5
Luminance
0.7943
Every format
| HEX | #cef396 |
| RGB | rgb(206, 243, 150) |
| HSL | hsl(84, 80%, 77%) |
| CMYK | cmyk(15%, 0%, 38%, 5%) |
| LAB | lab(91.4 -27.1 41.0) |
| LCH | lch(91.4 49.1 123.5) |
| OKLCH | oklch(0.917 0.125 126.4) |
Copy-ready code
/* CSS */
color: #cef396;
background-color: #cef396;
/* Tailwind (arbitrary) */
class="text-[#cef396] bg-[#cef396]"
/* SCSS */
$brand: #cef396;
/* SwiftUI */
Color(red: 0.808, green: 0.953, blue: 0.588)
/* Android */
Color.parseColor("#cef396")Accessibility — WCAG contrast
Aa
#cef396 on white: 1.24:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cef396 on black: 16.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green95.3%
Blue58.8%
CMYK percentages
Cyan15.2%
Magenta0.0%
Yellow38.3%
Key (black)4.7%
Color previews
#cef396 text on a black background
contrast 16.89:1
Card sample
#cef396 text on a white background
contrast 1.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cef396;
Background color
Panel with #cef396 background
background-color: #cef396;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cef396;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 243, 150, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 243, 150, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cef396; background: linear-gradient(135deg, #cef396, #96F39C);