#21AB2E#21AB2E

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

Color values

HEX#21AB2E
RGBrgb(33, 171, 46)
HSLhsl(126, 68%, 40%)
HSVhsv(126, 81%, 67%)
CMYKcmyk(80.7%, 0%, 73.1%, 32.9%)
CIE-LABlab(61.35, -59.15, 51.45)
CIE-LCHlch(61.35, 78.39, 138.99°)
OKLaboklab(64.74% -0.16 0.1169)
OKLCHoklch(64.74% 0.198 143.9)
XYZxyz(15.6822, 29.6445, 7.4797)
Luminance0.2965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21AB2E #AB219E
analogous
#59AB21 #21AB2E #21AB73
triadic
#21AB2E #2E21AB #AB2E21
tetradic
#21AB2E #2159AB #AB219E #AB7321
square
#21AB2E #2159AB #AB219E #AB7321
split-complementary
#21AB2E #7321AB #AB2159
monochromatic
#0D4412 #177820 #21AB2E #32D741 #65E171

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21AB2E#FFFFFF#000000##000000
##21AB2E1.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)
#AE9A18
Deuteranopia (green-blind)
#A0903B
Tritanopia (blue-blind)
#00A693
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #21ab2e;
/* rgb */ color: rgb(33, 171, 46);
/* oklch */ color: oklch(64.7% 0.198 143.9);
Tailwind
colors: {
  custom: {
    50: '#77c56e',
    500: '#21ab2e',
    950: '#000000',
  },
}
SCSS
$custom: #21ab2e;
$custom-light: #77c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#21ab2e",
  "rgb": {
    "r": 33,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 125.652,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.6474,
    "c": 0.19812,
    "h": 143.9
  },
  "luminance": 0.29646
}

Semantic roles & 50–950 ramp

primary
#21AB2E
secondary
#C761BD
accent
#3DDAEB
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21AB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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