#def708
a balanced, electric yellow · cool · closest name: yellow
RGB
222, 247, 8
HSL
66°, 94%, 50%
CMYK
10, 0, 97, 3
Luminance
0.8207
Every format
| HEX | #def708 |
| RGB | rgb(222, 247, 8) |
| HSL | hsl(66, 94%, 50%) |
| CMYK | cmyk(10%, 0%, 97%, 3%) |
| LAB | lab(92.6 -31.2 89.5) |
| LCH | lch(92.6 94.7 109.2) |
| OKLCH | oklch(0.926 0.212 117.0) |
Copy-ready code
/* CSS */
color: #def708;
background-color: #def708;
/* Tailwind (arbitrary) */
class="text-[#def708] bg-[#def708]"
/* SCSS */
$brand: #def708;
/* SwiftUI */
Color(red: 0.871, green: 0.969, blue: 0.031)
/* Android */
Color.parseColor("#def708")Accessibility — WCAG contrast
Aa
#def708 on white: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#def708 on black: 17.41:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green96.9%
Blue3.1%
CMYK percentages
Cyan10.1%
Magenta0.0%
Yellow96.8%
Key (black)3.1%
Color previews
#def708 text on a black background
contrast 17.41:1
Card sample
#def708 text on a white background
contrast 1.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #def708;
Background color
Panel with #def708 background
background-color: #def708;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #def708;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 247, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 247, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def708; background: linear-gradient(135deg, #def708, #3FF708);