#21A939#21A939

#21A939 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.3% C 0.189 H 145.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#21A939
RGBrgb(33, 169, 57)
HSLhsl(131, 67%, 40%)
HSVhsv(131, 80%, 66%)
CMYKcmyk(80.5%, 0%, 66.3%, 33.7%)
CIE-LABlab(60.78, -57.45, 46.41)
CIE-LCHlch(60.78, 73.85, 141.07°)
OKLaboklab(64.29% -0.1549 0.1076)
OKLCHoklch(64.29% 0.189 145.2)
XYZxyz(15.5526, 28.9928, 8.6466)
Luminance0.2899 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A939 #A92191
analogous
#4DA921 #21A939 #21A97D
triadic
#21A939 #3921A9 #A93921
tetradic
#21A939 #214DA9 #A92191 #A97D21
square
#21A939 #214DA9 #A92191 #A97D21
split-complementary
#21A939 #7D21A9 #A9214D
monochromatic
#0D4316 #177628 #21A939 #31D74E #64E17A

Accessibility & contrast

On white

3.09
#21A939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#21A939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A939
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A939#FFFFFF#000000##000000
##21A9391.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992B
Deuteranopia (green-blind)
#9D8F43
Tritanopia (blue-blind)
#00A592
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #21a939;
/* rgb */ color: rgb(33, 169, 57);
/* oklch */ color: oklch(64.3% 0.189 145.2);
Tailwind
colors: {
  custom: {
    50: '#75c474',
    500: '#21a939',
    950: '#000000',
  },
}
SCSS
$custom: #21a939;
$custom-light: #75c474;
$custom-dark: #000000;
JSON
{
  "hex": "#21a939",
  "rgb": {
    "r": 33,
    "g": 169,
    "b": 57
  },
  "hsl": {
    "h": 130.588,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64292,
    "c": 0.18857,
    "h": 145.2
  },
  "luminance": 0.28995
}

Semantic roles & 50–950 ramp

primary
#21A939
secondary
#C660B4
accent
#3ECCEA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21A939

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

Preview Lab → · Contrast checker → · Palette generator →

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