#307213
a dark, vivid green · cool · closest name: forestgreen
RGB
48, 114, 19
HSL
102°, 71%, 26%
CMYK
58, 0, 83, 55
Luminance
0.1271
Every format
| HEX | #307213 |
| RGB | rgb(48, 114, 19) |
| HSL | hsl(102, 71%, 26%) |
| CMYK | cmyk(58%, 0%, 83%, 55%) |
| LAB | lab(42.3 -38.3 42.4) |
| LCH | lch(42.3 57.1 132.1) |
| OKLCH | oklch(0.490 0.142 138.4) |
Copy-ready code
/* CSS */
color: #307213;
background-color: #307213;
/* Tailwind (arbitrary) */
class="text-[#307213] bg-[#307213]"
/* SCSS */
$brand: #307213;
/* SwiftUI */
Color(red: 0.188, green: 0.447, blue: 0.075)
/* Android */
Color.parseColor("#307213")Accessibility — WCAG contrast
Aa
#307213 on white: 5.93:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#307213 on black: 3.54:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.8%
Green44.7%
Blue7.5%
CMYK percentages
Cyan57.9%
Magenta0.0%
Yellow83.3%
Key (black)55.3%
Color previews
#307213 text on a black background
contrast 3.54:1
Card sample
#307213 text on a white background
contrast 5.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #307213;
Background color
Panel with #307213 background
background-color: #307213;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #307213;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(48, 114, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 114, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #307213; background: linear-gradient(135deg, #307213, #137235);