#202f21
a deep, soft green · cool · closest name: darkslategray
RGB
32, 47, 33
HSL
124°, 19%, 16%
CMYK
32, 0, 30, 82
Luminance
0.0245
Every format
| HEX | #202f21 |
| RGB | rgb(32, 47, 33) |
| HSL | hsl(124, 19%, 16%) |
| CMYK | cmyk(32%, 0%, 30%, 82%) |
| LAB | lab(17.7 -9.8 7.0) |
| LCH | lch(17.7 12.1 144.5) |
| OKLCH | oklch(0.287 0.032 146.4) |
Copy-ready code
/* CSS */
color: #202f21;
background-color: #202f21;
/* Tailwind (arbitrary) */
class="text-[#202f21] bg-[#202f21]"
/* SCSS */
$brand: #202f21;
/* SwiftUI */
Color(red: 0.125, green: 0.184, blue: 0.129)
/* Android */
Color.parseColor("#202f21")Accessibility — WCAG contrast
Aa
#202f21 on white: 14.09:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#202f21 on black: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.5%
Green18.4%
Blue12.9%
CMYK percentages
Cyan31.9%
Magenta0.0%
Yellow29.8%
Key (black)81.6%
Color previews
#202f21 text on a black background
contrast 1.49:1
Card sample
#202f21 text on a white background
contrast 14.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #202f21;
Background color
Panel with #202f21 background
background-color: #202f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #202f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(32, 47, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 47, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #202f21; background: linear-gradient(135deg, #202f21, #202F2B);