#072f28
a deep, vivid cyan · cool · closest name: darkslategray
RGB
7, 47, 40
HSL
170°, 74%, 11%
CMYK
85, 0, 15, 82
Luminance
0.0223
Every format
| HEX | #072f28 |
| RGB | rgb(7, 47, 40) |
| HSL | hsl(170, 74%, 11%) |
| CMYK | cmyk(85%, 0%, 15%, 82%) |
| LAB | lab(16.7 -15.7 0.6) |
| LCH | lch(16.7 15.7 178.0) |
| OKLCH | oklch(0.276 0.045 178.5) |
Copy-ready code
/* CSS */
color: #072f28;
background-color: #072f28;
/* Tailwind (arbitrary) */
class="text-[#072f28] bg-[#072f28]"
/* SCSS */
$brand: #072f28;
/* SwiftUI */
Color(red: 0.027, green: 0.184, blue: 0.157)
/* Android */
Color.parseColor("#072f28")Accessibility — WCAG contrast
Aa
#072f28 on white: 14.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#072f28 on black: 1.45:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red2.7%
Green18.4%
Blue15.7%
CMYK percentages
Cyan85.1%
Magenta0.0%
Yellow14.9%
Key (black)81.6%
Color previews
#072f28 text on a black background
contrast 1.45:1
Card sample
#072f28 text on a white background
contrast 14.52:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #072f28;
Background color
Panel with #072f28 background
background-color: #072f28;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #072f28;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(7, 47, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(7, 47, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #072f28; background: linear-gradient(135deg, #072f28, #071B2F);