#affc17
a balanced, electric green · cool · closest name: yellow
RGB
175, 252, 23
HSL
80°, 97%, 54%
CMYK
31, 0, 91, 1
Luminance
0.7880
Every format
| HEX | #affc17 |
| RGB | rgb(175, 252, 23) |
| HSL | hsl(80, 97%, 54%) |
| CMYK | cmyk(31%, 0%, 91%, 1%) |
| LAB | lab(91.1 -51.2 85.6) |
| LCH | lch(91.1 99.8 120.9) |
| OKLCH | oklch(0.906 0.236 128.8) |
Copy-ready code
/* CSS */
color: #affc17;
background-color: #affc17;
/* Tailwind (arbitrary) */
class="text-[#affc17] bg-[#affc17]"
/* SCSS */
$brand: #affc17;
/* SwiftUI */
Color(red: 0.686, green: 0.988, blue: 0.090)
/* Android */
Color.parseColor("#affc17")Accessibility — WCAG contrast
Aa
#affc17 on white: 1.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#affc17 on black: 16.76:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green98.8%
Blue9.0%
CMYK percentages
Cyan30.6%
Magenta0.0%
Yellow90.9%
Key (black)1.2%
Color previews
#affc17 text on a black background
contrast 16.76:1
Card sample
#affc17 text on a white background
contrast 1.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #affc17;
Background color
Panel with #affc17 background
background-color: #affc17;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #affc17;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 252, 23, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 252, 23, 0.45);
Border & gradient
Gradient panel
border: 3px solid #affc17; background: linear-gradient(135deg, #affc17, #17FC18);