#428F21#428F21

#428F21 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.161 H 138.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#428F21
RGBrgb(66, 143, 33)
HSLhsl(102, 63%, 35%)
HSVhsv(102, 77%, 56%)
CMYKcmyk(53.8%, 0%, 76.9%, 43.9%)
CIE-LABlab(52.85, -43.58, 47.94)
CIE-LCHlch(52.85, 64.79, 132.27°)
OKLaboklab(57.91% -0.1204 0.1075)
OKLCHoklch(57.91% 0.161 138.2)
XYZxyz(12.3433, 20.9120, 4.8245)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#428F21 #6E218F
analogous
#798F21 #428F21 #218F37
triadic
#428F21 #21428F #8F2142
tetradic
#428F21 #21798F #6E218F #8F3721
square
#428F21 #21798F #6E218F #8F3721
split-complementary
#428F21 #37218F #8F2179
monochromatic
#142C0A #2B5D16 #428F21 #59C12C #7BD753

Accessibility & contrast

On white

4.05
#428F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#428F21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #428F21
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##428F21#FFFFFF#000000##000000
##428F211.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948208
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#3C8A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #428f21;
/* rgb */ color: rgb(66, 143, 33);
/* oklch */ color: oklch(57.9% 0.161 138.2);
Tailwind
colors: {
  custom: {
    50: '#7fb065',
    500: '#428f21',
    950: '#000000',
  },
}
SCSS
$custom: #428f21;
$custom-light: #7fb065;
$custom-dark: #000000;
JSON
{
  "hex": "#428f21",
  "rgb": {
    "r": 66,
    "g": 143,
    "b": 33
  },
  "hsl": {
    "h": 102,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5791,
    "c": 0.16141,
    "h": 138.2
  },
  "luminance": 0.20913
}

Semantic roles & 50–950 ramp

primary
#428F21
secondary
#9B51BB
accent
#42E6B5
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #428F21

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#428F21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva