#21A62F#21A62F

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

Color values

HEX#21A62F
RGBrgb(33, 166, 47)
HSLhsl(126, 67%, 39%)
HSVhsv(126, 80%, 65%)
CMYKcmyk(80.1%, 0%, 71.7%, 34.9%)
CIE-LABlab(59.71, -57.48, 49.37)
CIE-LCHlch(59.71, 75.77, 139.34°)
OKLaboklab(63.38% -0.1554 0.1126)
OKLCHoklch(63.38% 0.192 144.1)
XYZxyz(14.7755, 27.7992, 7.2758)
Luminance0.2780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A62F #A62198
analogous
#56A621 #21A62F #21A672
triadic
#21A62F #2F21A6 #A62F21
tetradic
#21A62F #2156A6 #A62198 #A67221
square
#21A62F #2156A6 #A62198 #A67221
split-complementary
#21A62F #7221A6 #A62156
monochromatic
#0D4012 #177321 #21A62F #2FD640 #62E06F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A62F#FFFFFF#000000##000000
##21A62F1.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)
#A9961C
Deuteranopia (green-blind)
#9B8C3B
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #21a62f;
/* rgb */ color: rgb(33, 166, 47);
/* oklch */ color: oklch(63.4% 0.192 144.1);
Tailwind
colors: {
  custom: {
    50: '#75c26e',
    500: '#21a62f',
    950: '#000000',
  },
}
SCSS
$custom: #21a62f;
$custom-light: #75c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#21a62f",
  "rgb": {
    "r": 33,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 126.316,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63379,
    "c": 0.19192,
    "h": 144.1
  },
  "luminance": 0.27801
}

Semantic roles & 50–950 ramp

primary
#21A62F
secondary
#C55EBA
accent
#3ED8EA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A62F

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

Preview Lab → · Contrast checker → · Palette generator →

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