Skip to content

#00301f

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

RGB
0, 48, 31
HSL
159°, 100%, 9%
CMYK
100, 0, 35, 81
Luminance
0.0221

Every format

HEX#00301f
RGBrgb(0, 48, 31)
HSLhsl(159, 100%, 9%)
CMYKcmyk(100%, 0%, 35%, 81%)
LABlab(16.6 -20.7 6.6)
LCHlch(16.6 21.7 162.3)
OKLCHoklch(0.274 0.059 163.4)

Copy-ready code

/* CSS */
color: #00301f;
background-color: #00301f;
/* Tailwind (arbitrary) */
class="text-[#00301f] bg-[#00301f]"
/* SCSS */
$brand: #00301f;
/* SwiftUI */
Color(red: 0.000, green: 0.188, blue: 0.122)
/* Android */
Color.parseColor("#00301f")

Accessibility — WCAG contrast

Aa
#00301f on white: 14.56:1
AA ✓ pass · AA-large · AAA
Aa
#00301f on black: 1.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green18.8%
Blue12.2%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow35.4%
Key (black)81.2%

Color previews

#00301f text on a black background

contrast 1.44:1

Card sample

#00301f text on a white background

contrast 14.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(0, 48, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 48, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #00301f;
background: linear-gradient(135deg, #00301f, #002130);

Monochromatic scale

Palettes built from #00301f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #00301f in the Color Lab