#21A82F#21A82F

#21A82F is a light, vivid green. Relative luminance 0.285; OKLCH L 63.9% C 0.194 H 144.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#21A82F
RGBrgb(33, 168, 47)
HSLhsl(126, 67%, 39%)
HSVhsv(126, 80%, 66%)
CMYKcmyk(80.4%, 0%, 72%, 34.1%)
CIE-LABlab(60.37, -58.11, 50.06)
CIE-LCHlch(60.37, 76.70, 139.26°)
OKLaboklab(63.93% -0.1571 0.1141)
OKLCHoklch(63.93% 0.194 144)
XYZxyz(15.1419, 28.5320, 7.3980)
Luminance0.2853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A82F #A8219A
analogous
#57A821 #21A82F #21A873
triadic
#21A82F #2F21A8 #A82F21
tetradic
#21A82F #2157A8 #A8219A #A87321
square
#21A82F #2157A8 #A8219A #A87321
split-complementary
#21A82F #7321A8 #A82157
monochromatic
#0D4212 #177521 #21A82F #30D641 #63E070

Accessibility & contrast

On white

3.13
#21A82F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#21A82F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A82F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A82F#FFFFFF#000000##000000
##21A82F1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981B
Deuteranopia (green-blind)
#9D8E3B
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a82f;
/* rgb */ color: rgb(33, 168, 47);
/* oklch */ color: oklch(63.9% 0.194 144.0);
Tailwind
colors: {
  custom: {
    50: '#76c36f',
    500: '#21a82f',
    950: '#000000',
  },
}
SCSS
$custom: #21a82f;
$custom-light: #76c36f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a82f",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 126.222,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63927,
    "c": 0.19416,
    "h": 144
  },
  "luminance": 0.28534
}

Semantic roles & 50–950 ramp

primary
#21A82F
secondary
#C55FBB
accent
#3ED8EA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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