#acf040
a balanced, electric green · cool · closest name: yellow
RGB
172, 240, 64
HSL
83°, 85%, 60%
CMYK
28, 0, 73, 6
Luminance
0.7146
Every format
| HEX | #acf040 |
| RGB | rgb(172, 240, 64) |
| HSL | hsl(83, 85%, 60%) |
| CMYK | cmyk(28%, 0%, 73%, 6%) |
| LAB | lab(87.7 -45.8 73.1) |
| LCH | lch(87.7 86.3 122.1) |
| OKLCH | oklch(0.878 0.209 128.8) |
Copy-ready code
/* CSS */
color: #acf040;
background-color: #acf040;
/* Tailwind (arbitrary) */
class="text-[#acf040] bg-[#acf040]"
/* SCSS */
$brand: #acf040;
/* SwiftUI */
Color(red: 0.675, green: 0.941, blue: 0.251)
/* Android */
Color.parseColor("#acf040")Accessibility — WCAG contrast
Aa
#acf040 on white: 1.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#acf040 on black: 15.29:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.5%
Green94.1%
Blue25.1%
CMYK percentages
Cyan28.3%
Magenta0.0%
Yellow73.3%
Key (black)5.9%
Color previews
#acf040 text on a black background
contrast 15.29:1
Card sample
#acf040 text on a white background
contrast 1.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #acf040;
Background color
Panel with #acf040 background
background-color: #acf040;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #acf040;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(172, 240, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 240, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acf040; background: linear-gradient(135deg, #acf040, #40F049);