#21A62C#21A62C

#21A62C is a light, vivid green. Relative luminance 0.278; OKLCH L 63.4% C 0.194 H 143.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#21A62C
RGBrgb(33, 166, 44)
HSLhsl(125, 67%, 39%)
HSVhsv(125, 80%, 65%)
CMYKcmyk(80.1%, 0%, 73.5%, 34.9%)
CIE-LABlab(59.69, -57.74, 50.49)
CIE-LCHlch(59.69, 76.70, 138.83°)
OKLaboklab(63.35% -0.1562 0.1146)
OKLCHoklch(63.35% 0.194 143.7)
XYZxyz(14.7171, 27.7758, 6.9680)
Luminance0.2778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A62C #A6219B
analogous
#59A621 #21A62C #21A66F
triadic
#21A62C #2C21A6 #A62C21
tetradic
#21A62C #2159A6 #A6219B #A66F21
square
#21A62C #2159A6 #A6219B #A66F21
split-complementary
#21A62C #6F21A6 #A62159
monochromatic
#0D4011 #17731E #21A62C #2FD63C #62E06C

Accessibility & contrast

On white

3.20
#21A62C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#21A62C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A62C
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A62C#FFFFFF#000000##000000
##21A62C1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99616
Deuteranopia (green-blind)
#9B8C39
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #21a62c;
/* rgb */ color: rgb(33, 166, 44);
/* oklch */ color: oklch(63.4% 0.194 143.7);
Tailwind
colors: {
  custom: {
    50: '#75c26d',
    500: '#21a62c',
    950: '#000000',
  },
}
SCSS
$custom: #21a62c;
$custom-light: #75c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#21a62c",
  "rgb": {
    "r": 33,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 124.962,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63354,
    "c": 0.19376,
    "h": 143.7
  },
  "luminance": 0.27778
}

Semantic roles & 50–950 ramp

primary
#21A62C
secondary
#C55EBC
accent
#3EDCEA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A62C

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

Preview Lab → · Contrast checker → · Palette generator →

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