#309c50
a dark, vivid green · cool · closest name: seagreen
RGB
48, 156, 80
HSL
138°, 53%, 40%
CMYK
69, 0, 49, 39
Luminance
0.2498
Every format
| HEX | #309c50 |
| RGB | rgb(48, 156, 80) |
| HSL | hsl(138, 53%, 40%) |
| CMYK | cmyk(69%, 0%, 49%, 39%) |
| LAB | lab(57.1 -47.4 31.0) |
| LCH | lch(57.1 56.7 146.8) |
| OKLCH | oklch(0.614 0.148 149.4) |
Copy-ready code
/* CSS */
color: #309c50;
background-color: #309c50;
/* Tailwind (arbitrary) */
class="text-[#309c50] bg-[#309c50]"
/* SCSS */
$brand: #309c50;
/* SwiftUI */
Color(red: 0.188, green: 0.612, blue: 0.314)
/* Android */
Color.parseColor("#309c50")Accessibility — WCAG contrast
Aa
#309c50 on white: 3.50:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#309c50 on black: 6.00:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.8%
Green61.2%
Blue31.4%
CMYK percentages
Cyan69.2%
Magenta0.0%
Yellow48.7%
Key (black)38.8%
Color previews
#309c50 text on a black background
contrast 6.00:1
Card sample
#309c50 text on a white background
contrast 3.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #309c50;
Background color
Panel with #309c50 background
background-color: #309c50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #309c50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(48, 156, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 156, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #309c50; background: linear-gradient(135deg, #309c50, #309C98);