#21AA38#21AA38

#21AA38 is a light, vivid green. Relative luminance 0.294; OKLCH L 64.6% C 0.190 H 145.1°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#21AA38
RGBrgb(33, 170, 56)
HSLhsl(130, 67%, 40%)
HSVhsv(130, 81%, 67%)
CMYKcmyk(80.6%, 0%, 67.1%, 33.3%)
CIE-LABlab(61.09, -57.88, 47.18)
CIE-LCHlch(61.09, 74.67, 140.81°)
OKLaboklab(64.55% -0.1561 0.1091)
OKLCHoklch(64.55% 0.19 145.1)
XYZxyz(15.7146, 29.3564, 8.5788)
Luminance0.2936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AA38 #AA2193
analogous
#4FAA21 #21AA38 #21AA7D
triadic
#21AA38 #3821AA #AA3821
tetradic
#21AA38 #214FAA #AA2193 #AA7D21
square
#21AA38 #214FAA #AA2193 #AA7D21
split-complementary
#21AA38 #7D21AA #AA214F
monochromatic
#0D4316 #177727 #21AA38 #31D74D #64E179

Accessibility & contrast

On white

3.06
#21AA38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#21AA38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21AA38
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AA38#FFFFFF#000000##000000
##21AA381.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A29
Deuteranopia (green-blind)
#9E8F43
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #21aa38;
/* rgb */ color: rgb(33, 170, 56);
/* oklch */ color: oklch(64.6% 0.190 145.1);
Tailwind
colors: {
  custom: {
    50: '#76c574',
    500: '#21aa38',
    950: '#000000',
  },
}
SCSS
$custom: #21aa38;
$custom-light: #76c574;
$custom-dark: #000000;
JSON
{
  "hex": "#21aa38",
  "rgb": {
    "r": 33,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 130.073,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64555,
    "c": 0.19044,
    "h": 145.1
  },
  "luminance": 0.29358
}

Semantic roles & 50–950 ramp

primary
#21AA38
secondary
#C661B5
accent
#3DCDEA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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