#21AB39#21AB39

#21AB39 is a light, vivid green. Relative luminance 0.297; OKLCH L 64.8% C 0.191 H 145.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#21AB39
RGBrgb(33, 171, 57)
HSLhsl(130, 68%, 40%)
HSVhsv(130, 81%, 67%)
CMYKcmyk(80.7%, 0%, 66.7%, 32.9%)
CIE-LABlab(61.43, -58.10, 47.12)
CIE-LCHlch(61.43, 74.81, 140.95°)
OKLaboklab(64.84% -0.1567 0.1091)
OKLCHoklch(64.84% 0.191 145.2)
XYZxyz(15.9275, 29.7426, 8.7716)
Luminance0.2974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AB39 #AB2193
analogous
#4EAB21 #21AB39 #21AB7E
triadic
#21AB39 #3921AB #AB3921
tetradic
#21AB39 #214EAB #AB2193 #AB7E21
square
#21AB39 #214EAB #AB2193 #AB7E21
split-complementary
#21AB39 #7E21AB #AB214E
monochromatic
#0D4417 #177828 #21AB39 #32D74F #65E17B

Accessibility & contrast

On white

3.02
#21AB39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#21AB39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21AB39
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AB39#FFFFFF#000000##000000
##21AB391.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2A
Deuteranopia (green-blind)
#9F9043
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #21ab39;
/* rgb */ color: rgb(33, 171, 57);
/* oklch */ color: oklch(64.8% 0.191 145.2);
Tailwind
colors: {
  custom: {
    50: '#76c575',
    500: '#21ab39',
    950: '#000000',
  },
}
SCSS
$custom: #21ab39;
$custom-light: #76c575;
$custom-dark: #000000;
JSON
{
  "hex": "#21ab39",
  "rgb": {
    "r": 33,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 130.435,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.64838,
    "c": 0.19089,
    "h": 145.2
  },
  "luminance": 0.29745
}

Semantic roles & 50–950 ramp

primary
#21AB39
secondary
#C761B5
accent
#3DCCEB
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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