#21A457#21A457

#21A457 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.3% C 0.157 H 151.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#21A457
RGBrgb(33, 164, 87)
HSLhsl(145, 66%, 39%)
HSVhsv(145, 80%, 64%)
CMYKcmyk(79.9%, 0%, 47%, 35.7%)
CIE-LABlab(59.49, -51.50, 30.40)
CIE-LCHlch(59.49, 59.80, 149.45°)
OKLaboklab(63.34% -0.1383 0.0745)
OKLCHoklch(63.34% 0.157 151.7)
XYZxyz(15.6216, 27.5605, 13.5114)
Luminance0.2756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A457 #A4216E
analogous
#2CA421 #21A457 #21A498
triadic
#21A457 #5721A4 #A45721
tetradic
#21A457 #212CA4 #A4216E #A49821
square
#21A457 #212CA4 #A4216E #A49821
split-complementary
#21A457 #9821A4 #A4212C
monochromatic
#0C3E21 #17713C #21A457 #2DD572 #60DF95

Accessibility & contrast

On white

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

On black

6.51
#21A457 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A457
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A457#FFFFFF#000000##000000
##21A4571.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49651
Deuteranopia (green-blind)
#968B5C
Tritanopia (blue-blind)
#00A192
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #21a457;
/* rgb */ color: rgb(33, 164, 87);
/* oklch */ color: oklch(63.3% 0.157 151.7);
Tailwind
colors: {
  custom: {
    50: '#73c087',
    500: '#21a457',
    950: '#000000',
  },
}
SCSS
$custom: #21a457;
$custom-light: #73c087;
$custom-dark: #000000;
JSON
{
  "hex": "#21a457",
  "rgb": {
    "r": 33,
    "g": 164,
    "b": 87
  },
  "hsl": {
    "h": 144.733,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63341,
    "c": 0.15713,
    "h": 151.7
  },
  "luminance": 0.27562
}

Semantic roles & 50–950 ramp

primary
#21A457
secondary
#C45D99
accent
#3EA3E9
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#09120B
muted
#7B817C

Preview Lab

Preview with #21A457

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

Preview Lab → · Contrast checker → · Palette generator →

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