#168321
a dark, vivid green · cool · closest name: forestgreen
RGB
22, 131, 33
HSL
126°, 71%, 30%
CMYK
83, 0, 75, 49
Luminance
0.1651
Every format
| HEX | #168321 |
| RGB | rgb(22, 131, 33) |
| HSL | hsl(126, 71%, 30%) |
| CMYK | cmyk(83%, 0%, 75%, 49%) |
| LAB | lab(47.6 -48.8 42.3) |
| LCH | lch(47.6 64.6 139.1) |
| OKLCH | oklch(0.533 0.163 143.9) |
Copy-ready code
/* CSS */
color: #168321;
background-color: #168321;
/* Tailwind (arbitrary) */
class="text-[#168321] bg-[#168321]"
/* SCSS */
$brand: #168321;
/* SwiftUI */
Color(red: 0.086, green: 0.514, blue: 0.129)
/* Android */
Color.parseColor("#168321")Accessibility — WCAG contrast
Aa
#168321 on white: 4.88:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#168321 on black: 4.30:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red8.6%
Green51.4%
Blue12.9%
CMYK percentages
Cyan83.2%
Magenta0.0%
Yellow74.8%
Key (black)48.6%
Color previews
#168321 text on a black background
contrast 4.30:1
Card sample
#168321 text on a white background
contrast 4.88:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #168321;
Background color
Panel with #168321 background
background-color: #168321;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #168321;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(22, 131, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(22, 131, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #168321; background: linear-gradient(135deg, #168321, #16836A);