#afd554
a balanced, vivid green · cool · closest name: olivedrab
RGB
175, 213, 84
HSL
78°, 61%, 58%
CMYK
18, 0, 61, 17
Luminance
0.5734
Every format
| HEX | #afd554 |
| RGB | rgb(175, 213, 84) |
| HSL | hsl(78, 61%, 58%) |
| CMYK | cmyk(18%, 0%, 61%, 17%) |
| LAB | lab(80.4 -31.3 58.1) |
| LCH | lch(80.4 66.0 118.4) |
| OKLCH | oklch(0.820 0.161 123.8) |
Copy-ready code
/* CSS */
color: #afd554;
background-color: #afd554;
/* Tailwind (arbitrary) */
class="text-[#afd554] bg-[#afd554]"
/* SCSS */
$brand: #afd554;
/* SwiftUI */
Color(red: 0.686, green: 0.835, blue: 0.329)
/* Android */
Color.parseColor("#afd554")Accessibility — WCAG contrast
Aa
#afd554 on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#afd554 on black: 12.47:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green83.5%
Blue32.9%
CMYK percentages
Cyan17.8%
Magenta0.0%
Yellow60.6%
Key (black)16.5%
Color previews
#afd554 text on a black background
contrast 12.47:1
Card sample
#afd554 text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #afd554;
Background color
Panel with #afd554 background
background-color: #afd554;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #afd554;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 213, 84, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 213, 84, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afd554; background: linear-gradient(135deg, #afd554, #59D554);