#afeb26
a balanced, electric green · cool · closest name: yellow
RGB
175, 235, 38
HSL
78°, 83%, 54%
CMYK
26, 0, 84, 8
Luminance
0.6867
Every format
| HEX | #afeb26 |
| RGB | rgb(175, 235, 38) |
| HSL | hsl(78, 83%, 54%) |
| CMYK | cmyk(26%, 0%, 84%, 8%) |
| LAB | lab(86.3 -43.7 79.1) |
| LCH | lch(86.3 90.3 118.9) |
| OKLCH | oklch(0.868 0.213 126.5) |
Copy-ready code
/* CSS */
color: #afeb26;
background-color: #afeb26;
/* Tailwind (arbitrary) */
class="text-[#afeb26] bg-[#afeb26]"
/* SCSS */
$brand: #afeb26;
/* SwiftUI */
Color(red: 0.686, green: 0.922, blue: 0.149)
/* Android */
Color.parseColor("#afeb26")Accessibility — WCAG contrast
Aa
#afeb26 on white: 1.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afeb26 on black: 14.73:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green92.2%
Blue14.9%
CMYK percentages
Cyan25.5%
Magenta0.0%
Yellow83.8%
Key (black)7.8%
Color previews
#afeb26 text on a black background
contrast 14.73:1
Card sample
#afeb26 text on a white background
contrast 1.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afeb26;
Background color
Panel with #afeb26 background
background-color: #afeb26;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afeb26;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 235, 38, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 235, 38, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afeb26; background: linear-gradient(135deg, #afeb26, #2BEB26);