#21AB2C#21AB2C

#21AB2C is a light, vivid green. Relative luminance 0.296; OKLCH L 64.7% C 0.199 H 143.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#21AB2C
RGBrgb(33, 171, 44)
HSLhsl(125, 68%, 40%)
HSVhsv(125, 81%, 67%)
CMYKcmyk(80.7%, 0%, 74.3%, 32.9%)
CIE-LABlab(61.33, -59.32, 52.17)
CIE-LCHlch(61.33, 79.00, 138.67°)
OKLaboklab(64.72% -0.1605 0.1181)
OKLCHoklch(64.72% 0.199 143.7)
XYZxyz(15.6437, 29.6291, 7.2769)
Luminance0.2963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AB2C #AB21A0
analogous
#5BAB21 #21AB2C #21AB71
triadic
#21AB2C #2C21AB #AB2C21
tetradic
#21AB2C #215BAB #AB21A0 #AB7121
square
#21AB2C #215BAB #AB21A0 #AB7121
split-complementary
#21AB2C #7121AB #AB215B
monochromatic
#0D4412 #17781F #21AB2C #32D73F #65E16F

Accessibility & contrast

On white

3.03
#21AB2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#21AB2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21AB2C
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21AB2C#FFFFFF#000000##000000
##21AB2C1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#A0903A
Tritanopia (blue-blind)
#00A692
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #21ab2c;
/* rgb */ color: rgb(33, 171, 44);
/* oklch */ color: oklch(64.7% 0.199 143.7);
Tailwind
colors: {
  custom: {
    50: '#77c56d',
    500: '#21ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #21ab2c;
$custom-light: #77c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#21ab2c",
  "rgb": {
    "r": 33,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 124.783,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.64724,
    "c": 0.19929,
    "h": 143.7
  },
  "luminance": 0.29631
}

Semantic roles & 50–950 ramp

primary
#21AB2C
secondary
#C761BF
accent
#3DDDEB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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