#188821
a dark, vivid green · cool · “forestgreen”
RGB
24, 136, 33
HSL
125°, 70%, 31%
CMYK
82, 0, 76, 47
Luminance
0.1791
Every format
| HEX | #188821 |
| RGB | rgb(24, 136, 33) |
| HSL | hsl(125, 70%, 31%) |
| CMYK | cmyk(82%, 0%, 76%, 47%) |
| LAB | lab(49.4 -50.2 44.1) |
| LCH | lch(49.4 66.8 138.7) |
| OKLCH | oklch(0.547 0.169 143.7) |
Copy-ready code
/* CSS */
color: #188821;
background-color: #188821;
/* Tailwind (arbitrary) */
class="text-[#188821] bg-[#188821]"
/* SCSS */
$brand: #188821;
/* SwiftUI */
Color(red: 0.094, green: 0.533, blue: 0.129)
/* Android */
Color.parseColor("#188821")Accessibility — WCAG contrast
Aa
#188821 on white: 4.58:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#188821 on black: 4.58:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.4%
Green53.3%
Blue12.9%
CMYK percentages
Cyan82.4%
Magenta0.0%
Yellow75.7%
Key (black)46.7%
Color previews
#188821 text on a black background
contrast 4.58:1
Card sample
#188821 text on a white background
contrast 4.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #188821;
Background color
Panel with #188821 background
background-color: #188821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #188821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(24, 136, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 136, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #188821; background: linear-gradient(135deg, #188821, #18886C);