#08ba3d
a dark, electric green · cool · closest name: forestgreen
RGB
8, 186, 61
HSL
138°, 92%, 38%
CMYK
96, 0, 67, 27
Luminance
0.3551
Every format
| HEX | #08ba3d |
| RGB | rgb(8, 186, 61) |
| HSL | hsl(138, 92%, 38%) |
| CMYK | cmyk(96%, 0%, 67%, 27%) |
| LAB | lab(66.1 -64.3 50.5) |
| LCH | lch(66.1 81.8 141.8) |
| OKLCH | oklch(0.687 0.208 146.0) |
Copy-ready code
/* CSS */
color: #08ba3d;
background-color: #08ba3d;
/* Tailwind (arbitrary) */
class="text-[#08ba3d] bg-[#08ba3d]"
/* SCSS */
$brand: #08ba3d;
/* SwiftUI */
Color(red: 0.031, green: 0.729, blue: 0.239)
/* Android */
Color.parseColor("#08ba3d")Accessibility — WCAG contrast
Aa
#08ba3d on white: 2.59:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#08ba3d on black: 8.10:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red3.1%
Green72.9%
Blue23.9%
CMYK percentages
Cyan95.7%
Magenta0.0%
Yellow67.2%
Key (black)27.1%
Color previews
#08ba3d text on a black background
contrast 8.10:1
Card sample
#08ba3d text on a white background
contrast 2.59:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #08ba3d;
Background color
Panel with #08ba3d background
background-color: #08ba3d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #08ba3d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(8, 186, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(8, 186, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #08ba3d; background: linear-gradient(135deg, #08ba3d, #08BAB4);