#21A959#21A959

#21A959 is a light, vivid green. Relative luminance 0.294; OKLCH L 64.7% C 0.162 H 151.6°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#21A959
RGBrgb(33, 169, 89)
HSLhsl(145, 67%, 40%)
HSVhsv(145, 80%, 66%)
CMYKcmyk(80.5%, 0%, 47.3%, 33.7%)
CIE-LABlab(61.15, -52.96, 31.47)
CIE-LCHlch(61.15, 61.60, 149.28°)
OKLaboklab(64.72% -0.1422 0.077)
OKLCHoklch(64.72% 0.162 151.6)
XYZxyz(16.6169, 29.4185, 14.2518)
Luminance0.2942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A959 #A92171
analogous
#2DA921 #21A959 #21A99D
triadic
#21A959 #5921A9 #A95921
tetradic
#21A959 #212DA9 #A92171 #A99D21
square
#21A959 #212DA9 #A92171 #A99D21
split-complementary
#21A959 #9D21A9 #A9212D
monochromatic
#0D4323 #17763E #21A959 #31D775 #64E197

Accessibility & contrast

On white

3.05
#21A959 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#21A959 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A959
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A959#FFFFFF#000000##000000
##21A9591.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A53
Deuteranopia (green-blind)
#9A8F5F
Tritanopia (blue-blind)
#00A696
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #21a959;
/* rgb */ color: rgb(33, 169, 89);
/* oklch */ color: oklch(64.7% 0.162 151.6);
Tailwind
colors: {
  custom: {
    50: '#74c489',
    500: '#21a959',
    950: '#000000',
  },
}
SCSS
$custom: #21a959;
$custom-light: #74c489;
$custom-dark: #000000;
JSON
{
  "hex": "#21a959",
  "rgb": {
    "r": 33,
    "g": 169,
    "b": 89
  },
  "hsl": {
    "h": 144.706,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64724,
    "c": 0.16175,
    "h": 151.6
  },
  "luminance": 0.29421
}

Semantic roles & 50–950 ramp

primary
#21A959
secondary
#C6609C
accent
#3EA3EA
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #21A959

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

Preview Lab → · Contrast checker → · Palette generator →

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