#8baf39
a balanced, vivid green · cool · closest name: olivedrab
RGB
139, 175, 57
HSL
78°, 51%, 46%
CMYK
21, 0, 67, 31
Luminance
0.3644
Every format
| HEX | #8baf39 |
| RGB | rgb(139, 175, 57) |
| HSL | hsl(78, 51%, 46%) |
| CMYK | cmyk(21%, 0%, 67%, 31%) |
| LAB | lab(66.9 -29.6 54.2) |
| LCH | lch(66.9 61.7 118.7) |
| OKLCH | oklch(0.704 0.149 124.8) |
Copy-ready code
/* CSS */
color: #8baf39;
background-color: #8baf39;
/* Tailwind (arbitrary) */
class="text-[#8baf39] bg-[#8baf39]"
/* SCSS */
$brand: #8baf39;
/* SwiftUI */
Color(red: 0.545, green: 0.686, blue: 0.224)
/* Android */
Color.parseColor("#8baf39")Accessibility — WCAG contrast
Aa
#8baf39 on white: 2.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8baf39 on black: 8.29:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.5%
Green68.6%
Blue22.4%
CMYK percentages
Cyan20.6%
Magenta0.0%
Yellow67.4%
Key (black)31.4%
Color previews
#8baf39 text on a black background
contrast 8.29:1
Card sample
#8baf39 text on a white background
contrast 2.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8baf39;
Background color
Panel with #8baf39 background
background-color: #8baf39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8baf39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(139, 175, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(139, 175, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8baf39; background: linear-gradient(135deg, #8baf39, #3CAF39);