#abcf45
a balanced, vivid green · cool · closest name: olivedrab
RGB
171, 207, 69
HSL
76°, 59%, 54%
CMYK
17, 0, 67, 19
Luminance
0.5371
Every format
| HEX | #abcf45 |
| RGB | rgb(171, 207, 69) |
| HSL | hsl(76, 59%, 54%) |
| CMYK | cmyk(17%, 0%, 67%, 19%) |
| LAB | lab(78.3 -31.2 61.9) |
| LCH | lch(78.3 69.3 116.7) |
| OKLCH | oklch(0.802 0.167 122.8) |
Copy-ready code
/* CSS */
color: #abcf45;
background-color: #abcf45;
/* Tailwind (arbitrary) */
class="text-[#abcf45] bg-[#abcf45]"
/* SCSS */
$brand: #abcf45;
/* SwiftUI */
Color(red: 0.671, green: 0.812, blue: 0.271)
/* Android */
Color.parseColor("#abcf45")Accessibility — WCAG contrast
Aa
#abcf45 on white: 1.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#abcf45 on black: 11.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green81.2%
Blue27.1%
CMYK percentages
Cyan17.4%
Magenta0.0%
Yellow66.7%
Key (black)18.8%
Color previews
#abcf45 text on a black background
contrast 11.74:1
Card sample
#abcf45 text on a white background
contrast 1.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #abcf45;
Background color
Panel with #abcf45 background
background-color: #abcf45;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #abcf45;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 207, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 207, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abcf45; background: linear-gradient(135deg, #abcf45, #4FCF45);