Skip to content

#0e2f21

a deep, vivid green · cool · closest name: darkslategray

RGB
14, 47, 33
HSL
155°, 54%, 12%
CMYK
70, 0, 30, 82
Luminance
0.0224

Every format

HEX#0e2f21
RGBrgb(14, 47, 33)
HSLhsl(155, 54%, 12%)
CMYKcmyk(70%, 0%, 30%, 82%)
LABlab(16.7 -16.2 5.5)
LCHlch(16.7 17.1 161.4)
OKLCHoklch(0.276 0.047 162.7)

Copy-ready code

/* CSS */
color: #0e2f21;
background-color: #0e2f21;
/* Tailwind (arbitrary) */
class="text-[#0e2f21] bg-[#0e2f21]"
/* SCSS */
$brand: #0e2f21;
/* SwiftUI */
Color(red: 0.055, green: 0.184, blue: 0.129)
/* Android */
Color.parseColor("#0e2f21")

Accessibility — WCAG contrast

Aa
#0e2f21 on white: 14.51:1
AA ✓ pass · AA-large · AAA
Aa
#0e2f21 on black: 1.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.5%
Green18.4%
Blue12.9%

CMYK percentages

Cyan70.2%
Magenta0.0%
Yellow29.8%
Key (black)81.6%

Color previews

#0e2f21 text on a black background

contrast 1.45:1

Card sample

#0e2f21 text on a white background

contrast 14.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0e2f21;
Background color
Panel with #0e2f21 background
background-color: #0e2f21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0e2f21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(14, 47, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(14, 47, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0e2f21;
background: linear-gradient(135deg, #0e2f21, #0E272F);

Monochromatic scale

Palettes built from #0e2f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0e2f21 in the Color Lab