#21A246#21A246

#21A246 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.170 H 147.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#21A246
RGBrgb(33, 162, 70)
HSLhsl(137, 66%, 38%)
HSVhsv(137, 80%, 64%)
CMYKcmyk(79.6%, 0%, 56.8%, 36.5%)
CIE-LABlab(58.61, -53.48, 37.93)
CIE-LCHlch(58.61, 65.57, 144.66°)
OKLaboklab(62.54% -0.1437 0.0905)
OKLCHoklch(62.54% 0.17 147.8)
XYZxyz(14.6519, 26.6044, 10.1561)
Luminance0.2661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A246 #A2217D
analogous
#3DA221 #21A246 #21A286
triadic
#21A246 #4621A2 #A24621
tetradic
#21A246 #213DA2 #A2217D #A28621
square
#21A246 #213DA2 #A2217D #A28621
split-complementary
#21A246 #8621A2 #A2213D
monochromatic
#0C3C1A #176F30 #21A246 #2CD45C #5FDE84

Accessibility & contrast

On white

3.32
#21A246 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#21A246 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A246
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A246#FFFFFF#000000##000000
##21A2461.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933D
Deuteranopia (green-blind)
#95894D
Tritanopia (blue-blind)
#009E8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #21a246;
/* rgb */ color: rgb(33, 162, 70);
/* oklch */ color: oklch(62.5% 0.170 147.8);
Tailwind
colors: {
  custom: {
    50: '#73bf7c',
    500: '#21a246',
    950: '#000000',
  },
}
SCSS
$custom: #21a246;
$custom-light: #73bf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#21a246",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 137.209,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62535,
    "c": 0.16985,
    "h": 147.8
  },
  "luminance": 0.26606
}

Semantic roles & 50–950 ramp

primary
#21A246
secondary
#C35CA5
accent
#3FB8E9
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #21A246

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

Preview Lab → · Contrast checker → · Palette generator →

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