#21A958#21A958

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

Color values

HEX#21A958
RGBrgb(33, 169, 88)
HSLhsl(144, 67%, 40%)
HSVhsv(144, 80%, 66%)
CMYKcmyk(80.5%, 0%, 47.9%, 33.7%)
CIE-LABlab(61.13, -53.13, 31.97)
CIE-LCHlch(61.13, 62.01, 148.97°)
OKLaboklab(64.71% -0.1427 0.0782)
OKLCHoklch(64.71% 0.163 151.3)
XYZxyz(16.5751, 29.4018, 14.0322)
Luminance0.2940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A958 #A92172
analogous
#2EA921 #21A958 #21A99C
triadic
#21A958 #5821A9 #A95821
tetradic
#21A958 #212EA9 #A92172 #A99C21
square
#21A958 #212EA9 #A92172 #A99C21
split-complementary
#21A958 #9C21A9 #A9212E
monochromatic
#0D4323 #17763D #21A958 #31D774 #64E196

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A958#FFFFFF#000000##000000
##21A9581.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)
#AA9A52
Deuteranopia (green-blind)
#9A8F5E
Tritanopia (blue-blind)
#00A696
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #21a958;
/* rgb */ color: rgb(33, 169, 88);
/* oklch */ color: oklch(64.7% 0.163 151.3);
Tailwind
colors: {
  custom: {
    50: '#74c488',
    500: '#21a958',
    950: '#000000',
  },
}
SCSS
$custom: #21a958;
$custom-light: #74c488;
$custom-dark: #000000;
JSON
{
  "hex": "#21a958",
  "rgb": {
    "r": 33,
    "g": 169,
    "b": 88
  },
  "hsl": {
    "h": 144.265,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64707,
    "c": 0.16266,
    "h": 151.3
  },
  "luminance": 0.29404
}

Semantic roles & 50–950 ramp

primary
#21A958
secondary
#C6609D
accent
#3EA4EA
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #21A958

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

Preview Lab → · Contrast checker → · Palette generator →

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