#21A04A#21A04A

#21A04A is a light, vivid green. Relative luminance 0.260; OKLCH L 62.0% C 0.164 H 148.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#21A04A
RGBrgb(33, 160, 74)
HSLhsl(139, 66%, 38%)
HSVhsv(139, 79%, 63%)
CMYKcmyk(79.4%, 0%, 53.7%, 37.3%)
CIE-LABlab(58.00, -52.20, 35.21)
CIE-LCHlch(58.00, 62.96, 146.00°)
OKLaboklab(62.05% -0.1402 0.0847)
OKLCHoklch(62.05% 0.164 148.9)
XYZxyz(14.4329, 25.9576, 10.7269)
Luminance0.2596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A04A #A02177
analogous
#38A021 #21A04A #21A089
triadic
#21A04A #4A21A0 #A04A21
tetradic
#21A04A #2138A0 #A02177 #A08921
square
#21A04A #2138A0 #A02177 #A08921
split-complementary
#21A04A #8921A0 #A02138
monochromatic
#0C3B1B #176D33 #21A04A #2BD361 #5EDE87

Accessibility & contrast

On white

3.39
#21A04A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#21A04A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A04A
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A04A#FFFFFF#000000##000000
##21A04A1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19142
Deuteranopia (green-blind)
#938751
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a04a;
/* rgb */ color: rgb(33, 160, 74);
/* oklch */ color: oklch(62.0% 0.164 148.9);
Tailwind
colors: {
  custom: {
    50: '#72bd7e',
    500: '#21a04a',
    950: '#000000',
  },
}
SCSS
$custom: #21a04a;
$custom-light: #72bd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#21a04a",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 74
  },
  "hsl": {
    "h": 139.37,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62046,
    "c": 0.16384,
    "h": 148.9
  },
  "luminance": 0.25959
}

Semantic roles & 50–950 ramp

primary
#21A04A
secondary
#C25BA1
accent
#3FB2E9
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #21A04A

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

Preview Lab → · Contrast checker → · Palette generator →

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