#21A02A#21A02A

#21A02A is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.7% C 0.188 H 143.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#21A02A
RGBrgb(33, 160, 42)
HSLhsl(124, 66%, 38%)
HSVhsv(124, 79%, 63%)
CMYKcmyk(79.4%, 0%, 73.8%, 37.3%)
CIE-LABlab(57.68, -55.99, 49.20)
CIE-LCHlch(57.68, 74.54, 138.69°)
OKLaboklab(61.69% -0.1516 0.1116)
OKLCHoklch(61.69% 0.188 143.6)
XYZxyz(13.6150, 25.6305, 6.4197)
Luminance0.2563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A02A #A02197
analogous
#57A021 #21A02A #21A069
triadic
#21A02A #2A21A0 #A02A21
tetradic
#21A02A #2157A0 #A02197 #A06921
square
#21A02A #2157A0 #A02197 #A06921
split-complementary
#21A02A #6921A0 #A02157
monochromatic
#0C3B0F #176D1D #21A02A #2BD337 #5EDE67

Accessibility & contrast

On white

3.43
#21A02A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#21A02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A02A
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A02A#FFFFFF#000000##000000
##21A02A1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39015
Deuteranopia (green-blind)
#968736
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a02a;
/* rgb */ color: rgb(33, 160, 42);
/* oklch */ color: oklch(61.7% 0.188 143.6);
Tailwind
colors: {
  custom: {
    50: '#74bd6b',
    500: '#21a02a',
    950: '#000000',
  },
}
SCSS
$custom: #21a02a;
$custom-light: #74bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#21a02a",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 124.252,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61686,
    "c": 0.18825,
    "h": 143.6
  },
  "luminance": 0.25632
}

Semantic roles & 50–950 ramp

primary
#21A02A
secondary
#C25BBB
accent
#3FDDE9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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