#21A245#21A245

#21A245 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.171 H 147.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#21A245
RGBrgb(33, 162, 69)
HSLhsl(137, 66%, 38%)
HSVhsv(137, 80%, 64%)
CMYKcmyk(79.6%, 0%, 57.4%, 36.5%)
CIE-LABlab(58.59, -53.62, 38.40)
CIE-LCHlch(58.59, 65.96, 144.39°)
OKLaboklab(62.52% -0.1441 0.0914)
OKLCHoklch(62.52% 0.171 147.6)
XYZxyz(14.6206, 26.5919, 9.9913)
Luminance0.2659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A245 #A2217E
analogous
#3DA221 #21A245 #21A285
triadic
#21A245 #4521A2 #A24521
tetradic
#21A245 #213DA2 #A2217E #A28521
square
#21A245 #213DA2 #A2217E #A28521
split-complementary
#21A245 #8521A2 #A2213D
monochromatic
#0C3C1A #176F2F #21A245 #2CD45B #5FDE83

Accessibility & contrast

On white

3.32
#21A245 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#21A245 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A245
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A245#FFFFFF#000000##000000
##21A2451.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933C
Deuteranopia (green-blind)
#96894C
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #21a245;
/* rgb */ color: rgb(33, 162, 69);
/* oklch */ color: oklch(62.5% 0.171 147.6);
Tailwind
colors: {
  custom: {
    50: '#73bf7b',
    500: '#21a245',
    950: '#000000',
  },
}
SCSS
$custom: #21a245;
$custom-light: #73bf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#21a245",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 136.744,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62522,
    "c": 0.1707,
    "h": 147.6
  },
  "luminance": 0.26594
}

Semantic roles & 50–950 ramp

primary
#21A245
secondary
#C35CA6
accent
#3FBAE9
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #21A245

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

Preview Lab → · Contrast checker → · Palette generator →

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