Skip to content

#0d4935

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

RGB
13, 73, 53
HSL
160°, 70%, 17%
CMYK
82, 0, 27, 71
Luminance
0.0511

Every format

HEX#0d4935
RGBrgb(13, 73, 53)
HSLhsl(160, 70%, 17%)
CMYKcmyk(82%, 0%, 27%, 71%)
LABlab(27.0 -24.2 6.7)
LCHlch(27.0 25.1 164.5)
OKLCHoklch(0.362 0.069 165.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0d4935 on white: 10.39:1
AA ✓ pass · AA-large · AAA
Aa
#0d4935 on black: 2.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green28.6%
Blue20.8%

CMYK percentages

Cyan82.2%
Magenta0.0%
Yellow27.4%
Key (black)71.4%

Color previews

#0d4935 text on a black background

contrast 2.02:1

Card sample

#0d4935 text on a white background

contrast 10.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0d4935

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0d4935 in the Color Lab