#21A45C#21A45C

#21A45C is a light, vivid green. Relative luminance 0.276; OKLCH L 63.4% C 0.152 H 153.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#21A45C
RGBrgb(33, 164, 92)
HSLhsl(147, 66%, 39%)
HSVhsv(147, 80%, 64%)
CMYKcmyk(79.9%, 0%, 43.9%, 35.7%)
CIE-LABlab(59.57, -50.60, 27.86)
CIE-LCHlch(59.57, 57.77, 151.16°)
OKLaboklab(63.43% -0.1361 0.0688)
OKLCHoklch(63.43% 0.152 153.2)
XYZxyz(15.8330, 27.6450, 14.6247)
Luminance0.2765 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A45C #A42169
analogous
#27A421 #21A45C #21A49D
triadic
#21A45C #5C21A4 #A45C21
tetradic
#21A45C #2127A4 #A42169 #A49D21
square
#21A45C #2127A4 #A42169 #A49D21
split-complementary
#21A45C #9D21A4 #A42127
monochromatic
#0C3E23 #17713F #21A45C #2DD579 #60DF99

Accessibility & contrast

On white

3.22
#21A45C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#21A45C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A45C
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A45C#FFFFFF#000000##000000
##21A45C1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49657
Deuteranopia (green-blind)
#958B61
Tritanopia (blue-blind)
#00A292
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #21a45c;
/* rgb */ color: rgb(33, 164, 92);
/* oklch */ color: oklch(63.4% 0.152 153.2);
Tailwind
colors: {
  custom: {
    50: '#73c08b',
    500: '#21a45c',
    950: '#000000',
  },
}
SCSS
$custom: #21a45c;
$custom-light: #73c08b;
$custom-dark: #000000;
JSON
{
  "hex": "#21a45c",
  "rgb": {
    "r": 33,
    "g": 164,
    "b": 92
  },
  "hsl": {
    "h": 147.023,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6343,
    "c": 0.15248,
    "h": 153.2
  },
  "luminance": 0.27647
}

Semantic roles & 50–950 ramp

primary
#21A45C
secondary
#C45D96
accent
#3E9CE9
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#09120C
muted
#7B817D

Preview Lab

Preview with #21A45C

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

Preview Lab → · Contrast checker → · Palette generator →

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