#0f2921
a deep, vivid cyan · cool · closest name: darkslategray
RGB
15, 41, 33
HSL
162°, 46%, 11%
CMYK
63, 0, 20, 84
Luminance
0.0180
Every format
| HEX | #0f2921 |
| RGB | rgb(15, 41, 33) |
| HSL | hsl(162, 46%, 11%) |
| CMYK | cmyk(63%, 0%, 20%, 84%) |
| LAB | lab(14.4 -12.5 2.2) |
| LCH | lch(14.4 12.7 169.9) |
| OKLCH | oklch(0.257 0.036 170.9) |
Copy-ready code
/* CSS */
color: #0f2921;
background-color: #0f2921;
/* Tailwind (arbitrary) */
class="text-[#0f2921] bg-[#0f2921]"
/* SCSS */
$brand: #0f2921;
/* SwiftUI */
Color(red: 0.059, green: 0.161, blue: 0.129)
/* Android */
Color.parseColor("#0f2921")Accessibility — WCAG contrast
Aa
#0f2921 on white: 15.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f2921 on black: 1.36:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green16.1%
Blue12.9%
CMYK percentages
Cyan63.4%
Magenta0.0%
Yellow19.5%
Key (black)83.9%
Color previews
#0f2921 text on a black background
contrast 1.36:1
Card sample
#0f2921 text on a white background
contrast 15.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f2921;
Background color
Panel with #0f2921 background
background-color: #0f2921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f2921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 41, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 41, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f2921; background: linear-gradient(135deg, #0f2921, #0F2029);