#8abc2f
a balanced, vivid green · cool · closest name: olivedrab
RGB
138, 188, 47
HSL
81°, 60%, 46%
CMYK
27, 0, 75, 26
Luminance
0.4157
Every format
| HEX | #8abc2f |
| RGB | rgb(138, 188, 47) |
| HSL | hsl(81, 60%, 46%) |
| CMYK | cmyk(27%, 0%, 75%, 26%) |
| LAB | lab(70.6 -36.6 61.5) |
| LCH | lch(70.6 71.6 120.8) |
| OKLCH | oklch(0.734 0.173 127.6) |
Copy-ready code
/* CSS */
color: #8abc2f;
background-color: #8abc2f;
/* Tailwind (arbitrary) */
class="text-[#8abc2f] bg-[#8abc2f]"
/* SCSS */
$brand: #8abc2f;
/* SwiftUI */
Color(red: 0.541, green: 0.737, blue: 0.184)
/* Android */
Color.parseColor("#8abc2f")Accessibility — WCAG contrast
Aa
#8abc2f on white: 2.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8abc2f on black: 9.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.1%
Green73.7%
Blue18.4%
CMYK percentages
Cyan26.6%
Magenta0.0%
Yellow75.0%
Key (black)26.3%
Color previews
#8abc2f text on a black background
contrast 9.31:1
Card sample
#8abc2f text on a white background
contrast 2.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8abc2f;
Background color
Panel with #8abc2f background
background-color: #8abc2f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8abc2f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(138, 188, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 188, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8abc2f; background: linear-gradient(135deg, #8abc2f, #2FBC32);