#21AB3F#21AB3F

#21AB3F is a light, vivid green. Relative luminance 0.298; OKLCH L 64.9% C 0.186 H 146.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#21AB3F
RGBrgb(33, 171, 63)
HSLhsl(133, 68%, 40%)
HSVhsv(133, 81%, 67%)
CMYKcmyk(80.7%, 0%, 63.2%, 32.9%)
CIE-LABlab(61.49, -57.42, 44.56)
CIE-LCHlch(61.49, 72.68, 142.19°)
OKLaboklab(64.9% -0.1546 0.1042)
OKLCHoklch(64.9% 0.186 146)
XYZxyz(16.0861, 29.8061, 9.6070)
Luminance0.2981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AB3F #AB218D
analogous
#48AB21 #21AB3F #21AB84
triadic
#21AB3F #3F21AB #AB3F21
tetradic
#21AB3F #2148AB #AB218D #AB8421
square
#21AB3F #2148AB #AB218D #AB8421
split-complementary
#21AB3F #8421AB #AB2148
monochromatic
#0D4419 #17782C #21AB3F #32D756 #65E180

Accessibility & contrast

On white

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

On black

6.96
#21AB3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21AB3F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AB3F#FFFFFF#000000##000000
##21AB3F1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21ab3f;
/* rgb */ color: rgb(33, 171, 63);
/* oklch */ color: oklch(64.9% 0.186 146.0);
Tailwind
colors: {
  custom: {
    50: '#76c578',
    500: '#21ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #21ab3f;
$custom-light: #76c578;
$custom-dark: #000000;
JSON
{
  "hex": "#21ab3f",
  "rgb": {
    "r": 33,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 133.043,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.64901,
    "c": 0.18646,
    "h": 146
  },
  "luminance": 0.29808
}

Semantic roles & 50–950 ramp

primary
#21AB3F
secondary
#C761B1
accent
#3DC5EB
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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