Skip to content

#428021

a dark, vivid green · cool · closest name: forestgreen

RGB
66, 128, 33
HSL
99°, 59%, 32%
CMYK
48, 0, 74, 50
Luminance
0.1671

Every format

HEX#428021
RGBrgb(66, 128, 33)
HSLhsl(99, 59%, 32%)
CMYKcmyk(48%, 0%, 74%, 50%)
LABlab(47.9 -37.5 43.0)
LCHlch(47.9 57.0 131.1)
OKLCHoklch(0.538 0.142 136.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#428021 on white: 4.84:1
AA ✓ pass · AA-large · AAA
Aa
#428021 on black: 4.34:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.9%
Green50.2%
Blue12.9%

CMYK percentages

Cyan48.4%
Magenta0.0%
Yellow74.2%
Key (black)49.8%

Color previews

#428021 text on a black background

contrast 4.34:1

Card sample

#428021 text on a white background

contrast 4.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(66, 128, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(66, 128, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #428021;
background: linear-gradient(135deg, #428021, #21803F);

Monochromatic scale

Palettes built from #428021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #428021 in the Color Lab