#21A147#21A147

#21A147 is a light, vivid green. Relative luminance 0.263; OKLCH L 62.3% C 0.168 H 148.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#21A147
RGBrgb(33, 161, 71)
HSLhsl(138, 66%, 38%)
HSVhsv(138, 80%, 63%)
CMYKcmyk(79.5%, 0%, 55.9%, 36.9%)
CIE-LABlab(58.29, -53.00, 37.06)
CIE-LCHlch(58.29, 64.67, 145.04°)
OKLaboklab(62.28% -0.1424 0.0886)
OKLCHoklch(62.28% 0.168 148.1)
XYZxyz(14.5082, 26.2663, 10.2653)
Luminance0.2627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A147 #A1217B
analogous
#3BA121 #21A147 #21A187
triadic
#21A147 #4721A1 #A14721
tetradic
#21A147 #213BA1 #A1217B #A18721
square
#21A147 #213BA1 #A1217B #A18721
split-complementary
#21A147 #8721A1 #A1213B
monochromatic
#0C3B1A #176E31 #21A147 #2CD45D #5EDE84

Accessibility & contrast

On white

3.36
#21A147 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#21A147 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A147
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A147#FFFFFF#000000##000000
##21A1471.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3923F
Deuteranopia (green-blind)
#94884E
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a147;
/* rgb */ color: rgb(33, 161, 71);
/* oklch */ color: oklch(62.3% 0.168 148.1);
Tailwind
colors: {
  custom: {
    50: '#73be7c',
    500: '#21a147',
    950: '#000000',
  },
}
SCSS
$custom: #21a147;
$custom-light: #73be7c;
$custom-dark: #000000;
JSON
{
  "hex": "#21a147",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 71
  },
  "hsl": {
    "h": 137.813,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62276,
    "c": 0.16773,
    "h": 148.1
  },
  "luminance": 0.26268
}

Semantic roles & 50–950 ramp

primary
#21A147
secondary
#C35BA4
accent
#3FB6E9
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #21A147

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

Preview Lab → · Contrast checker → · Palette generator →

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