#21A020#21A020

#21A020 is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.6% C 0.194 H 142.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#21A020
RGBrgb(33, 160, 32)
HSLhsl(120, 67%, 38%)
HSVhsv(120, 80%, 63%)
CMYKcmyk(79.4%, 0%, 80%, 37.3%)
CIE-LABlab(57.62, -56.74, 52.60)
CIE-LCHlch(57.62, 77.37, 137.17°)
OKLaboklab(61.62% -0.154 0.1174)
OKLCHoklch(61.62% 0.194 142.7)
XYZxyz(13.4579, 25.5676, 5.5920)
Luminance0.2557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A020 #9F20A0
analogous
#61A020 #21A020 #20A05F
triadic
#21A020 #2021A0 #A02021
tetradic
#21A020 #2061A0 #9F20A0 #A05F20
square
#21A020 #2061A0 #9F20A0 #A05F20
split-complementary
#21A020 #5F20A0 #A02061
monochromatic
#0C3A0C #166D16 #21A020 #2CD32A #5DDE5C

Accessibility & contrast

On white

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

On black

6.11
#21A020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A020
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A020#FFFFFF#000000##000000
##21A0201.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #21a020;
/* rgb */ color: rgb(33, 160, 32);
/* oklch */ color: oklch(61.6% 0.194 142.7);
Tailwind
colors: {
  custom: {
    50: '#74bd66',
    500: '#21a020',
    950: '#000000',
  },
}
SCSS
$custom: #21a020;
$custom-light: #74bd66;
$custom-dark: #000000;
JSON
{
  "hex": "#21a020",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 119.531,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61616,
    "c": 0.19366,
    "h": 142.7
  },
  "luminance": 0.25569
}

Semantic roles & 50–950 ramp

primary
#21A020
secondary
#C259C3
accent
#3EEAE8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #21A020

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

Preview Lab → · Contrast checker → · Palette generator →

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