#21A951#21A951

#21A951 is a light, vivid green. Relative luminance 0.293; OKLCH L 64.6% C 0.169 H 149.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#21A951
RGBrgb(33, 169, 81)
HSLhsl(141, 67%, 40%)
HSVhsv(141, 80%, 66%)
CMYKcmyk(80.5%, 0%, 52.1%, 33.7%)
CIE-LABlab(61.04, -54.27, 35.42)
CIE-LCHlch(61.04, 64.81, 146.87°)
OKLaboklab(64.6% -0.1457 0.0856)
OKLCHoklch(64.6% 0.169 149.6)
XYZxyz(16.2990, 29.2914, 12.5778)
Luminance0.2929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A951 #A92179
analogous
#35A921 #21A951 #21A995
triadic
#21A951 #5121A9 #A95121
tetradic
#21A951 #2135A9 #A92179 #A99521
square
#21A951 #2135A9 #A92179 #A99521
split-complementary
#21A951 #9521A9 #A92135
monochromatic
#0D4320 #177638 #21A951 #31D76B #64E190

Accessibility & contrast

On white

3.06
#21A951 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#21A951 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A951
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A951#FFFFFF#000000##000000
##21A9511.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A49
Deuteranopia (green-blind)
#9B8F58
Tritanopia (blue-blind)
#00A695
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #21a951;
/* rgb */ color: rgb(33, 169, 81);
/* oklch */ color: oklch(64.6% 0.169 149.6);
Tailwind
colors: {
  custom: {
    50: '#74c484',
    500: '#21a951',
    950: '#000000',
  },
}
SCSS
$custom: #21a951;
$custom-light: #74c484;
$custom-dark: #000000;
JSON
{
  "hex": "#21a951",
  "rgb": {
    "r": 33,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 141.176,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64595,
    "c": 0.169,
    "h": 149.6
  },
  "luminance": 0.29293
}

Semantic roles & 50–950 ramp

primary
#21A951
secondary
#C660A2
accent
#3EADEA
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #21A951

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

Preview Lab → · Contrast checker → · Palette generator →

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