#21A952#21A952

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

Color values

HEX#21A952
RGBrgb(33, 169, 82)
HSLhsl(142, 67%, 40%)
HSVhsv(142, 80%, 66%)
CMYKcmyk(80.5%, 0%, 51.5%, 33.7%)
CIE-LABlab(61.05, -54.12, 34.93)
CIE-LCHlch(61.05, 64.41, 147.16°)
OKLaboklab(64.61% -0.1453 0.0846)
OKLCHoklch(64.61% 0.168 149.8)
XYZxyz(16.3368, 29.3065, 12.7767)
Luminance0.2931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A952 #A92178
analogous
#34A921 #21A952 #21A996
triadic
#21A952 #5221A9 #A95221
tetradic
#21A952 #2134A9 #A92178 #A99621
square
#21A952 #2134A9 #A92178 #A99621
split-complementary
#21A952 #9621A9 #A92134
monochromatic
#0D4320 #177639 #21A952 #31D76C #64E191

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A952#FFFFFF#000000##000000
##21A9521.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)
#AA9A4B
Deuteranopia (green-blind)
#9B8F58
Tritanopia (blue-blind)
#00A695
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #21a952;
/* rgb */ color: rgb(33, 169, 82);
/* oklch */ color: oklch(64.6% 0.168 149.8);
Tailwind
colors: {
  custom: {
    50: '#74c484',
    500: '#21a952',
    950: '#000000',
  },
}
SCSS
$custom: #21a952;
$custom-light: #74c484;
$custom-dark: #000000;
JSON
{
  "hex": "#21a952",
  "rgb": {
    "r": 33,
    "g": 169,
    "b": 82
  },
  "hsl": {
    "h": 141.618,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64611,
    "c": 0.1681,
    "h": 149.8
  },
  "luminance": 0.29308
}

Semantic roles & 50–950 ramp

primary
#21A952
secondary
#C660A1
accent
#3EACEA
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #21A952

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

Preview Lab → · Contrast checker → · Palette generator →

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