#afeb3d
a balanced, electric green · cool · closest name: yellow
RGB
175, 235, 61
HSL
81°, 81%, 58%
CMYK
26, 0, 74, 8
Luminance
0.6887
Every format
| HEX | #afeb3d |
| RGB | rgb(175, 235, 61) |
| HSL | hsl(81, 81%, 58%) |
| CMYK | cmyk(26%, 0%, 74%, 8%) |
| LAB | lab(86.4 -42.7 72.9) |
| LCH | lch(86.4 84.5 120.4) |
| OKLCH | oklch(0.869 0.203 127.2) |
Copy-ready code
/* CSS */
color: #afeb3d;
background-color: #afeb3d;
/* Tailwind (arbitrary) */
class="text-[#afeb3d] bg-[#afeb3d]"
/* SCSS */
$brand: #afeb3d;
/* SwiftUI */
Color(red: 0.686, green: 0.922, blue: 0.239)
/* Android */
Color.parseColor("#afeb3d")Accessibility — WCAG contrast
Aa
#afeb3d on white: 1.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afeb3d on black: 14.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green92.2%
Blue23.9%
CMYK percentages
Cyan25.5%
Magenta0.0%
Yellow74.0%
Key (black)7.8%
Color previews
#afeb3d text on a black background
contrast 14.77:1
Card sample
#afeb3d text on a white background
contrast 1.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afeb3d;
Background color
Panel with #afeb3d background
background-color: #afeb3d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afeb3d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 235, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 235, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afeb3d; background: linear-gradient(135deg, #afeb3d, #3DEB3F);