#21A842#21A842

#21A842 is a light, vivid green. Relative luminance 0.287; OKLCH L 64.1% C 0.181 H 146.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#21A842
RGBrgb(33, 168, 66)
HSLhsl(135, 67%, 39%)
HSVhsv(135, 80%, 66%)
CMYKcmyk(80.4%, 0%, 60.7%, 34.1%)
CIE-LABlab(60.53, -56.06, 42.10)
CIE-LCHlch(60.53, 70.11, 143.09°)
OKLaboklab(64.12% -0.1508 0.0992)
OKLCHoklch(64.12% 0.181 146.7)
XYZxyz(15.6120, 28.7200, 9.8739)
Luminance0.2872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A842 #A82187
analogous
#43A821 #21A842 #21A886
triadic
#21A842 #4221A8 #A84221
tetradic
#21A842 #2143A8 #A82187 #A88621
square
#21A842 #2143A8 #A82187 #A88621
split-complementary
#21A842 #8621A8 #A82143
monochromatic
#0D421A #17752E #21A842 #30D659 #63E082

Accessibility & contrast

On white

3.11
#21A842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#21A842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A842
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A842#FFFFFF#000000##000000
##21A8421.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9837
Deuteranopia (green-blind)
#9C8E4B
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a842;
/* rgb */ color: rgb(33, 168, 66);
/* oklch */ color: oklch(64.1% 0.181 146.7);
Tailwind
colors: {
  custom: {
    50: '#75c37a',
    500: '#21a842',
    950: '#000000',
  },
}
SCSS
$custom: #21a842;
$custom-light: #75c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#21a842",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 66
  },
  "hsl": {
    "h": 134.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6412,
    "c": 0.18053,
    "h": 146.7
  },
  "luminance": 0.28722
}

Semantic roles & 50–950 ramp

primary
#21A842
secondary
#C55FAC
accent
#3EC0EA
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21A842

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

Preview Lab → · Contrast checker → · Palette generator →

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