#21AB2D#21AB2D

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

Color values

HEX#21AB2D
RGBrgb(33, 171, 45)
HSLhsl(125, 68%, 40%)
HSVhsv(125, 81%, 67%)
CMYKcmyk(80.7%, 0%, 73.7%, 32.9%)
CIE-LABlab(61.34, -59.24, 51.81)
CIE-LCHlch(61.34, 78.70, 138.83°)
OKLaboklab(64.73% -0.1603 0.1175)
OKLCHoklch(64.73% 0.199 143.8)
XYZxyz(15.6627, 29.6367, 7.3771)
Luminance0.2964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AB2D #AB219F
analogous
#5AAB21 #21AB2D #21AB72
triadic
#21AB2D #2D21AB #AB2D21
tetradic
#21AB2D #215AAB #AB219F #AB7221
square
#21AB2D #215AAB #AB219F #AB7221
split-complementary
#21AB2D #7221AB #AB215A
monochromatic
#0D4412 #17781F #21AB2D #32D740 #65E170

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AB2D#FFFFFF#000000##000000
##21AB2D1.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)
#AE9A16
Deuteranopia (green-blind)
#A0903A
Tritanopia (blue-blind)
#00A692
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #21ab2d;
/* rgb */ color: rgb(33, 171, 45);
/* oklch */ color: oklch(64.7% 0.199 143.8);
Tailwind
colors: {
  custom: {
    50: '#77c56e',
    500: '#21ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #21ab2d;
$custom-light: #77c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#21ab2d",
  "rgb": {
    "r": 33,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 125.217,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.64732,
    "c": 0.19871,
    "h": 143.8
  },
  "luminance": 0.29639
}

Semantic roles & 50–950 ramp

primary
#21AB2D
secondary
#C761BE
accent
#3DDBEB
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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