#21AA28#21AA28

#21AA28 is a light, highly saturated green. Relative luminance 0.292; OKLCH L 64.4% C 0.200 H 143.3°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#21AA28
RGBrgb(33, 170, 40)
HSLhsl(123, 67%, 40%)
HSVhsv(123, 81%, 67%)
CMYKcmyk(80.6%, 0%, 76.5%, 33.3%)
CIE-LABlab(60.98, -59.32, 53.23)
CIE-LCHlch(60.98, 79.70, 138.10°)
OKLaboklab(64.42% -0.1607 0.1198)
OKLCHoklch(64.42% 0.2 143.3)
XYZxyz(15.3839, 29.2241, 6.8371)
Luminance0.2923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AA28 #AA21A3
analogous
#5EAA21 #21AA28 #21AA6D
triadic
#21AA28 #2821AA #AA2821
tetradic
#21AA28 #215EAA #AA21A3 #AA6D21
square
#21AA28 #215EAA #AA21A3 #AA6D21
split-complementary
#21AA28 #6D21AA #AA215E
monochromatic
#0D4310 #17771C #21AA28 #31D73A #64E16B

Accessibility & contrast

On white

3.07
#21AA28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#21AA28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21AA28
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AA28#FFFFFF#000000##000000
##21AA281.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE990A
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#00A591
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #21aa28;
/* rgb */ color: rgb(33, 170, 40);
/* oklch */ color: oklch(64.4% 0.200 143.3);
Tailwind
colors: {
  custom: {
    50: '#77c56b',
    500: '#21aa28',
    950: '#000000',
  },
}
SCSS
$custom: #21aa28;
$custom-light: #77c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#21aa28",
  "rgb": {
    "r": 33,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 123.066,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64422,
    "c": 0.20043,
    "h": 143.3
  },
  "luminance": 0.29226
}

Semantic roles & 50–950 ramp

primary
#21AA28
secondary
#C661C1
accent
#3DE2EA
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #21AA28

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

Preview Lab → · Contrast checker → · Palette generator →

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