#176c21
a dark, vivid green · cool · closest name: forestgreen
RGB
23, 108, 33
HSL
127°, 65%, 26%
CMYK
79, 0, 69, 58
Luminance
0.1102
Every format
| HEX | #176c21 |
| RGB | rgb(23, 108, 33) |
| HSL | hsl(127, 65%, 26%) |
| CMYK | cmyk(79%, 0%, 69%, 58%) |
| LAB | lab(39.6 -40.7 33.8) |
| LCH | lch(39.6 52.9 140.3) |
| OKLCH | oklch(0.466 0.135 144.6) |
Copy-ready code
/* CSS */
color: #176c21;
background-color: #176c21;
/* Tailwind (arbitrary) */
class="text-[#176c21] bg-[#176c21]"
/* SCSS */
$brand: #176c21;
/* SwiftUI */
Color(red: 0.090, green: 0.424, blue: 0.129)
/* Android */
Color.parseColor("#176c21")Accessibility — WCAG contrast
Aa
#176c21 on white: 6.56:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#176c21 on black: 3.20:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.0%
Green42.4%
Blue12.9%
CMYK percentages
Cyan78.7%
Magenta0.0%
Yellow69.4%
Key (black)57.6%
Color previews
#176c21 text on a black background
contrast 3.20:1
Card sample
#176c21 text on a white background
contrast 6.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #176c21;
Background color
Panel with #176c21 background
background-color: #176c21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #176c21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(23, 108, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(23, 108, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #176c21; background: linear-gradient(135deg, #176c21, #176C5A);