Skip to content

#172002

a deep, electric green · cool · closest name: black

RGB
23, 32, 2
HSL
78°, 88%, 7%
CMYK
28, 0, 94, 88
Luminance
0.0122

Every format

HEX#172002
RGBrgb(23, 32, 2)
HSLhsl(78, 88%, 7%)
CMYKcmyk(28%, 0%, 94%, 88%)
LABlab(10.7 -10.1 14.9)
LCHlch(10.7 18.0 124.0)
OKLCHoklch(0.227 0.052 124.1)

Copy-ready code

/* CSS */
color: #172002;
background-color: #172002;
/* Tailwind (arbitrary) */
class="text-[#172002] bg-[#172002]"
/* SCSS */
$brand: #172002;
/* SwiftUI */
Color(red: 0.090, green: 0.125, blue: 0.008)
/* Android */
Color.parseColor("#172002")

Accessibility — WCAG contrast

Aa
#172002 on white: 16.88:1
AA ✓ pass · AA-large · AAA
Aa
#172002 on black: 1.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red9.0%
Green12.5%
Blue0.8%

CMYK percentages

Cyan28.1%
Magenta0.0%
Yellow93.8%
Key (black)87.5%

Color previews

#172002 text on a black background

contrast 1.24:1

Card sample

#172002 text on a white background

contrast 16.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #172002

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #172002 in the Color Lab