#cbf072
a light, electric green · cool · closest name: khaki
RGB
203, 240, 114
HSL
78°, 81%, 69%
CMYK
15, 0, 53, 6
Luminance
0.7623
Every format
| HEX | #cbf072 |
| RGB | rgb(203, 240, 114) |
| HSL | hsl(78, 81%, 69%) |
| CMYK | cmyk(15%, 0%, 53%, 6%) |
| LAB | lab(90.0 -30.6 56.2) |
| LCH | lch(90.0 64.0 118.6) |
| OKLCH | oklch(0.903 0.158 123.2) |
Copy-ready code
/* CSS */
color: #cbf072;
background-color: #cbf072;
/* Tailwind (arbitrary) */
class="text-[#cbf072] bg-[#cbf072]"
/* SCSS */
$brand: #cbf072;
/* SwiftUI */
Color(red: 0.796, green: 0.941, blue: 0.447)
/* Android */
Color.parseColor("#cbf072")Accessibility — WCAG contrast
Aa
#cbf072 on white: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbf072 on black: 16.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green94.1%
Blue44.7%
CMYK percentages
Cyan15.4%
Magenta0.0%
Yellow52.5%
Key (black)5.9%
Color previews
#cbf072 text on a black background
contrast 16.25:1
Card sample
#cbf072 text on a white background
contrast 1.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbf072;
Background color
Panel with #cbf072 background
background-color: #cbf072;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbf072;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 240, 114, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 240, 114, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbf072; background: linear-gradient(135deg, #cbf072, #77F072);