#21A931#21A931

#21A931 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.2% C 0.194 H 144.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#21A931
RGBrgb(33, 169, 49)
HSLhsl(127, 67%, 40%)
HSVhsv(127, 80%, 66%)
CMYKcmyk(80.5%, 0%, 71%, 33.7%)
CIE-LABlab(60.71, -58.25, 49.63)
CIE-LCHlch(60.71, 76.53, 139.57°)
OKLaboklab(64.22% -0.1574 0.1134)
OKLCHoklch(64.22% 0.194 144.2)
XYZxyz(15.3685, 28.9192, 7.6771)
Luminance0.2892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A931 #A92199
analogous
#55A921 #21A931 #21A975
triadic
#21A931 #3121A9 #A93121
tetradic
#21A931 #2155A9 #A92199 #A97521
square
#21A931 #2155A9 #A92199 #A97521
split-complementary
#21A931 #7521A9 #A92155
monochromatic
#0D4313 #177622 #21A931 #31D744 #64E172

Accessibility & contrast

On white

3.10
#21A931 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#21A931 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A931
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A931#FFFFFF#000000##000000
##21A9311.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC991E
Deuteranopia (green-blind)
#9E8E3D
Tritanopia (blue-blind)
#00A491
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a931;
/* rgb */ color: rgb(33, 169, 49);
/* oklch */ color: oklch(64.2% 0.194 144.2);
Tailwind
colors: {
  custom: {
    50: '#76c470',
    500: '#21a931',
    950: '#000000',
  },
}
SCSS
$custom: #21a931;
$custom-light: #76c470;
$custom-dark: #000000;
JSON
{
  "hex": "#21a931",
  "rgb": {
    "r": 33,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 127.059,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64218,
    "c": 0.19402,
    "h": 144.2
  },
  "luminance": 0.28921
}

Semantic roles & 50–950 ramp

primary
#21A931
secondary
#C660BA
accent
#3ED6EA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21A931

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

Preview Lab → · Contrast checker → · Palette generator →

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