#21A04F#21A04F

#21A04F is a light, vivid green. Relative luminance 0.260; OKLCH L 62.1% C 0.159 H 150.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#21A04F
RGBrgb(33, 160, 79)
HSLhsl(142, 66%, 38%)
HSVhsv(142, 79%, 63%)
CMYKcmyk(79.4%, 0%, 50.6%, 37.3%)
CIE-LABlab(58.06, -51.41, 32.75)
CIE-LCHlch(58.06, 60.96, 147.50°)
OKLaboklab(62.12% -0.1381 0.0795)
OKLCHoklch(62.12% 0.159 150.1)
XYZxyz(14.6080, 26.0277, 11.6496)
Luminance0.2603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A04F #A02172
analogous
#33A021 #21A04F #21A08E
triadic
#21A04F #4F21A0 #A04F21
tetradic
#21A04F #2133A0 #A02172 #A08E21
square
#21A04F #2133A0 #A02172 #A08E21
split-complementary
#21A04F #8E21A0 #A02133
monochromatic
#0C3B1D #176D36 #21A04F #2BD368 #5EDE8C

Accessibility & contrast

On white

3.38
#21A04F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#21A04F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A04F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A04F#FFFFFF#000000##000000
##21A04F1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19248
Deuteranopia (green-blind)
#938855
Tritanopia (blue-blind)
#009D8D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a04f;
/* rgb */ color: rgb(33, 160, 79);
/* oklch */ color: oklch(62.1% 0.159 150.1);
Tailwind
colors: {
  custom: {
    50: '#72bd82',
    500: '#21a04f',
    950: '#000000',
  },
}
SCSS
$custom: #21a04f;
$custom-light: #72bd82;
$custom-dark: #000000;
JSON
{
  "hex": "#21a04f",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 79
  },
  "hsl": {
    "h": 141.732,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62122,
    "c": 0.15933,
    "h": 150.1
  },
  "luminance": 0.26029
}

Semantic roles & 50–950 ramp

primary
#21A04F
secondary
#C25B9D
accent
#3FABE9
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#09120A
muted
#7B817C

Preview Lab

Preview with #21A04F

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

Preview Lab → · Contrast checker → · Palette generator →

#21A04F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva