#21A057#21A057

#21A057 is a light, vivid green. Relative luminance 0.262; OKLCH L 62.3% C 0.152 H 152.3°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#21A057
RGBrgb(33, 160, 87)
HSLhsl(146, 66%, 38%)
HSVhsv(146, 79%, 63%)
CMYKcmyk(79.4%, 0%, 45.6%, 37.3%)
CIE-LABlab(58.18, -50.04, 28.72)
CIE-LCHlch(58.18, 57.70, 150.15°)
OKLaboklab(62.26% -0.1345 0.0707)
OKLCHoklch(62.26% 0.152 152.3)
XYZxyz(14.9170, 26.1513, 13.2765)
Luminance0.2615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A057 #A0216A
analogous
#2AA021 #21A057 #21A096
triadic
#21A057 #5721A0 #A05721
tetradic
#21A057 #212AA0 #A0216A #A09621
square
#21A057 #212AA0 #A0216A #A09621
split-complementary
#21A057 #9621A0 #A0212A
monochromatic
#0C3B20 #176D3B #21A057 #2BD373 #5EDE94

Accessibility & contrast

On white

3.37
#21A057 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#21A057 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A057
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A057#FFFFFF#000000##000000
##21A0571.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09251
Deuteranopia (green-blind)
#92885C
Tritanopia (blue-blind)
#009E8E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a057;
/* rgb */ color: rgb(33, 160, 87);
/* oklch */ color: oklch(62.3% 0.152 152.3);
Tailwind
colors: {
  custom: {
    50: '#72bd87',
    500: '#21a057',
    950: '#000000',
  },
}
SCSS
$custom: #21a057;
$custom-light: #72bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#21a057",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 87
  },
  "hsl": {
    "h": 145.512,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62257,
    "c": 0.15191,
    "h": 152.3
  },
  "luminance": 0.26153
}

Semantic roles & 50–950 ramp

primary
#21A057
secondary
#C25B96
accent
#3FA1E9
background
#F7FBF8
surface
#EDF7EF
border
#C8D0CA
text
#09120B
muted
#7B817C

Preview Lab

Preview with #21A057

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

Preview Lab → · Contrast checker → · Palette generator →

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