#21A342#21A342

#21A342 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.8% C 0.174 H 147.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#21A342
RGBrgb(33, 163, 66)
HSLhsl(135, 66%, 38%)
HSVhsv(135, 80%, 64%)
CMYKcmyk(79.8%, 0%, 59.5%, 36.1%)
CIE-LABlab(58.89, -54.37, 40.19)
CIE-LCHlch(58.89, 67.62, 143.53°)
OKLaboklab(62.76% -0.1462 0.0951)
OKLCHoklch(62.76% 0.174 147)
XYZxyz(14.7066, 26.9093, 9.5721)
Luminance0.2691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A342 #A32182
analogous
#41A321 #21A342 #21A383
triadic
#21A342 #4221A3 #A34221
tetradic
#21A342 #2141A3 #A32182 #A38321
square
#21A342 #2141A3 #A32182 #A38321
split-complementary
#21A342 #8321A3 #A32141
monochromatic
#0C3D19 #17702D #21A342 #2DD457 #60DF80

Accessibility & contrast

On white

3.29
#21A342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#21A342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A342
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A342#FFFFFF#000000##000000
##21A3421.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59438
Deuteranopia (green-blind)
#978A4A
Tritanopia (blue-blind)
#009F8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #21a342;
/* rgb */ color: rgb(33, 163, 66);
/* oklch */ color: oklch(62.8% 0.174 147.0);
Tailwind
colors: {
  custom: {
    50: '#74bf79',
    500: '#21a342',
    950: '#000000',
  },
}
SCSS
$custom: #21a342;
$custom-light: #74bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#21a342",
  "rgb": {
    "r": 33,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 135.231,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62756,
    "c": 0.17445,
    "h": 147
  },
  "luminance": 0.26911
}

Semantic roles & 50–950 ramp

primary
#21A342
secondary
#C35CA9
accent
#3FBEE9
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #21A342

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

Preview Lab → · Contrast checker → · Palette generator →

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