#cbf97f
a light, electric green · cool · closest name: khaki
RGB
203, 249, 127
HSL
83°, 91%, 74%
CMYK
19, 0, 49, 2
Luminance
0.8198
Every format
| HEX | #cbf97f |
| RGB | rgb(203, 249, 127) |
| HSL | hsl(83, 91%, 74%) |
| CMYK | cmyk(19%, 0%, 49%, 2%) |
| LAB | lab(92.6 -33.5 53.4) |
| LCH | lch(92.6 63.0 122.2) |
| OKLCH | oklch(0.924 0.158 126.3) |
Copy-ready code
/* CSS */
color: #cbf97f;
background-color: #cbf97f;
/* Tailwind (arbitrary) */
class="text-[#cbf97f] bg-[#cbf97f]"
/* SCSS */
$brand: #cbf97f;
/* SwiftUI */
Color(red: 0.796, green: 0.976, blue: 0.498)
/* Android */
Color.parseColor("#cbf97f")Accessibility — WCAG contrast
Aa
#cbf97f on white: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbf97f on black: 17.40:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green97.6%
Blue49.8%
CMYK percentages
Cyan18.5%
Magenta0.0%
Yellow49.0%
Key (black)2.4%
Color previews
#cbf97f text on a black background
contrast 17.40:1
Card sample
#cbf97f text on a white background
contrast 1.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbf97f;
Background color
Panel with #cbf97f background
background-color: #cbf97f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbf97f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 249, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 249, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbf97f; background: linear-gradient(135deg, #cbf97f, #7FF984);