#21A858#21A858

#21A858 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.4% C 0.161 H 151.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#21A858
RGBrgb(33, 168, 88)
HSLhsl(144, 67%, 39%)
HSVhsv(144, 80%, 66%)
CMYKcmyk(80.4%, 0%, 47.6%, 34.1%)
CIE-LABlab(60.81, -52.77, 31.56)
CIE-LCHlch(60.81, 61.49, 149.12°)
OKLaboklab(64.44% -0.1417 0.0772)
OKLCHoklch(64.44% 0.161 151.4)
XYZxyz(16.3898, 29.0312, 13.9704)
Luminance0.2903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A858 #A82171
analogous
#2EA821 #21A858 #21A89B
triadic
#21A858 #5821A8 #A85821
tetradic
#21A858 #212EA8 #A82171 #A89B21
square
#21A858 #212EA8 #A82171 #A89B21
split-complementary
#21A858 #9B21A8 #A8212E
monochromatic
#0D4222 #17753D #21A858 #30D674 #63E096

Accessibility & contrast

On white

3.09
#21A858 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#21A858 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A858
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A858#FFFFFF#000000##000000
##21A8581.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99952
Deuteranopia (green-blind)
#998E5E
Tritanopia (blue-blind)
#00A595
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #21a858;
/* rgb */ color: rgb(33, 168, 88);
/* oklch */ color: oklch(64.4% 0.161 151.4);
Tailwind
colors: {
  custom: {
    50: '#74c388',
    500: '#21a858',
    950: '#000000',
  },
}
SCSS
$custom: #21a858;
$custom-light: #74c388;
$custom-dark: #000000;
JSON
{
  "hex": "#21a858",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 88
  },
  "hsl": {
    "h": 144.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64438,
    "c": 0.16137,
    "h": 151.4
  },
  "luminance": 0.29033
}

Semantic roles & 50–950 ramp

primary
#21A858
secondary
#C55F9C
accent
#3EA4EA
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #21A858

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

Preview Lab → · Contrast checker → · Palette generator →

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