#cfef2d
a balanced, electric yellow · cool · closest name: yellow
RGB
207, 239, 45
HSL
70°, 86%, 56%
CMYK
13, 0, 81, 6
Luminance
0.7519
Every format
| HEX | #cfef2d |
| RGB | rgb(207, 239, 45) |
| HSL | hsl(70, 86%, 56%) |
| CMYK | cmyk(13%, 0%, 81%, 6%) |
| LAB | lab(89.5 -32.8 81.0) |
| LCH | lch(89.5 87.3 112.1) |
| OKLCH | oklch(0.898 0.201 119.3) |
Copy-ready code
/* CSS */
color: #cfef2d;
background-color: #cfef2d;
/* Tailwind (arbitrary) */
class="text-[#cfef2d] bg-[#cfef2d]"
/* SCSS */
$brand: #cfef2d;
/* SwiftUI */
Color(red: 0.812, green: 0.937, blue: 0.176)
/* Android */
Color.parseColor("#cfef2d")Accessibility — WCAG contrast
Aa
#cfef2d on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cfef2d on black: 16.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red81.2%
Green93.7%
Blue17.6%
CMYK percentages
Cyan13.4%
Magenta0.0%
Yellow81.2%
Key (black)6.3%
Color previews
#cfef2d text on a black background
contrast 16.04:1
Card sample
#cfef2d text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cfef2d;
Background color
Panel with #cfef2d background
background-color: #cfef2d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cfef2d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(207, 239, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 239, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfef2d; background: linear-gradient(135deg, #cfef2d, #4EEF2D);