Skip to content

#006021

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

RGB
0, 96, 33
HSL
141°, 100%, 19%
CMYK
100, 0, 66, 62
Luminance
0.0848

Every format

HEX#006021
RGBrgb(0, 96, 33)
HSLhsl(141, 100%, 19%)
CMYKcmyk(100%, 0%, 66%, 62%)
LABlab(35.0 -39.3 28.5)
LCHlch(35.0 48.6 144.0)
OKLCHoklch(0.426 0.125 147.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#006021 on white: 7.79:1
AA ✓ pass · AA-large · AAA
Aa
#006021 on black: 2.70:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green37.6%
Blue12.9%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow65.6%
Key (black)62.4%

Color previews

#006021 text on a black background

contrast 2.70:1

Card sample

#006021 text on a white background

contrast 7.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #006021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #006021 in the Color Lab