#21A054#21A054

#21A054 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.2% C 0.155 H 151.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#21A054
RGBrgb(33, 160, 84)
HSLhsl(144, 66%, 38%)
HSVhsv(144, 79%, 63%)
CMYKcmyk(79.4%, 0%, 47.5%, 37.3%)
CIE-LABlab(58.13, -50.57, 30.24)
CIE-LCHlch(58.13, 58.92, 149.12°)
OKLaboklab(62.21% -0.1358 0.074)
OKLCHoklch(62.21% 0.155 151.4)
XYZxyz(14.7969, 26.1032, 12.6444)
Luminance0.2611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A054 #A0216D
analogous
#2EA021 #21A054 #21A093
triadic
#21A054 #5421A0 #A05421
tetradic
#21A054 #212EA0 #A0216D #A09321
square
#21A054 #212EA0 #A0216D #A09321
split-complementary
#21A054 #9321A0 #A0212E
monochromatic
#0C3B1F #176D39 #21A054 #2BD36F #5EDE91

Accessibility & contrast

On white

3.38
#21A054 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#21A054 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A054
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A054#FFFFFF#000000##000000
##21A0541.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1924E
Deuteranopia (green-blind)
#928859
Tritanopia (blue-blind)
#009D8E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a054;
/* rgb */ color: rgb(33, 160, 84);
/* oklch */ color: oklch(62.2% 0.155 151.4);
Tailwind
colors: {
  custom: {
    50: '#72bd85',
    500: '#21a054',
    950: '#000000',
  },
}
SCSS
$custom: #21a054;
$custom-light: #72bd85;
$custom-dark: #000000;
JSON
{
  "hex": "#21a054",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 84
  },
  "hsl": {
    "h": 144.094,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62205,
    "c": 0.15472,
    "h": 151.4
  },
  "luminance": 0.26105
}

Semantic roles & 50–950 ramp

primary
#21A054
secondary
#C25B99
accent
#3FA5E9
background
#F7FBF8
surface
#EDF7EF
border
#C8D0CA
text
#09120B
muted
#7B817C

Preview Lab

Preview with #21A054

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

Preview Lab → · Contrast checker → · Palette generator →

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