Skip to content

#0d3d21

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

RGB
13, 61, 33
HSL
145°, 65%, 15%
CMYK
79, 0, 46, 76
Luminance
0.0353

Every format

HEX#0d3d21
RGBrgb(13, 61, 33)
HSLhsl(145, 65%, 15%)
CMYKcmyk(79%, 0%, 46%, 76%)
LABlab(22.1 -23.6 12.8)
LCHlch(22.1 26.8 151.5)
OKLCHoklch(0.320 0.071 153.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0d3d21 on white: 12.31:1
AA ✓ pass · AA-large · AAA
Aa
#0d3d21 on black: 1.71:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green23.9%
Blue12.9%

CMYK percentages

Cyan78.7%
Magenta0.0%
Yellow45.9%
Key (black)76.1%

Color previews

#0d3d21 text on a black background

contrast 1.71:1

Card sample

#0d3d21 text on a white background

contrast 12.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0d3d21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0d3d21 in the Color Lab