#21A052#21A052

#21A052 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.2% C 0.157 H 150.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#21A052
RGBrgb(33, 160, 82)
HSLhsl(143, 66%, 38%)
HSVhsv(143, 79%, 63%)
CMYKcmyk(79.4%, 0%, 48.8%, 37.3%)
CIE-LABlab(58.11, -50.91, 31.25)
CIE-LCHlch(58.11, 59.74, 148.46°)
OKLaboklab(62.17% -0.1367 0.0763)
OKLCHoklch(62.17% 0.157 150.9)
XYZxyz(14.7197, 26.0724, 12.2377)
Luminance0.2607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A052 #A0216F
analogous
#2FA021 #21A052 #21A092
triadic
#21A052 #5221A0 #A05221
tetradic
#21A052 #212FA0 #A0216F #A09221
square
#21A052 #212FA0 #A0216F #A09221
split-complementary
#21A052 #9221A0 #A0212F
monochromatic
#0C3B1E #176D38 #21A052 #2BD36C #5EDE8F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A052#FFFFFF#000000##000000
##21A0521.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)
#A1924C
Deuteranopia (green-blind)
#928858
Tritanopia (blue-blind)
#009D8E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a052;
/* rgb */ color: rgb(33, 160, 82);
/* oklch */ color: oklch(62.2% 0.157 150.9);
Tailwind
colors: {
  custom: {
    50: '#72bd84',
    500: '#21a052',
    950: '#000000',
  },
}
SCSS
$custom: #21a052;
$custom-light: #72bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#21a052",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 82
  },
  "hsl": {
    "h": 143.15,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62171,
    "c": 0.15657,
    "h": 150.9
  },
  "luminance": 0.26074
}

Semantic roles & 50–950 ramp

primary
#21A052
secondary
#C25B9A
accent
#3FA7E9
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#09120B
muted
#7B817C

Preview Lab

Preview with #21A052

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

Preview Lab → · Contrast checker → · Palette generator →

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