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