#21A047#21A047

#21A047 is a light, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.166 H 148.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#21A047
RGBrgb(33, 160, 71)
HSLhsl(138, 66%, 38%)
HSVhsv(138, 79%, 63%)
CMYKcmyk(79.4%, 0%, 55.6%, 37.3%)
CIE-LABlab(57.96, -52.65, 36.66)
CIE-LCHlch(57.96, 64.15, 145.15°)
OKLaboklab(62% -0.1415 0.0878)
OKLCHoklch(62% 0.166 148.2)
XYZxyz(14.3342, 25.9181, 10.2073)
Luminance0.2592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A047 #A0217A
analogous
#3AA021 #21A047 #21A086
triadic
#21A047 #4721A0 #A04721
tetradic
#21A047 #213AA0 #A0217A #A08621
square
#21A047 #213AA0 #A0217A #A08621
split-complementary
#21A047 #8621A0 #A0213A
monochromatic
#0C3B1A #176D30 #21A047 #2BD35E #5EDE84

Accessibility & contrast

On white

3.40
#21A047 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#21A047 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A047
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A047#FFFFFF#000000##000000
##21A0471.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2913F
Deuteranopia (green-blind)
#93874E
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a047;
/* rgb */ color: rgb(33, 160, 71);
/* oklch */ color: oklch(62.0% 0.166 148.2);
Tailwind
colors: {
  custom: {
    50: '#73bd7c',
    500: '#21a047',
    950: '#000000',
  },
}
SCSS
$custom: #21a047;
$custom-light: #73bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#21a047",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 71
  },
  "hsl": {
    "h": 137.953,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62002,
    "c": 0.16648,
    "h": 148.2
  },
  "luminance": 0.2592
}

Semantic roles & 50–950 ramp

primary
#21A047
secondary
#C25BA3
accent
#3FB6E9
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #21A047

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

Preview Lab → · Contrast checker → · Palette generator →

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