#21A048#21A048

#21A048 is a light, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.166 H 148.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#21A048
RGBrgb(33, 160, 72)
HSLhsl(138, 66%, 38%)
HSVhsv(138, 79%, 63%)
CMYKcmyk(79.4%, 0%, 55%, 37.3%)
CIE-LABlab(57.97, -52.50, 36.18)
CIE-LCHlch(57.97, 63.76, 145.43°)
OKLaboklab(62.02% -0.141 0.0868)
OKLCHoklch(62.02% 0.166 148.4)
XYZxyz(14.3665, 25.9311, 10.3777)
Luminance0.2593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A048 #A02179
analogous
#3AA021 #21A048 #21A087
triadic
#21A048 #4821A0 #A04821
tetradic
#21A048 #213AA0 #A02179 #A08721
square
#21A048 #213AA0 #A02179 #A08721
split-complementary
#21A048 #8721A0 #A0213A
monochromatic
#0C3B1A #176D31 #21A048 #2BD35F #5EDE85

Accessibility & contrast

On white

3.39
#21A048 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#21A048 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A048
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A048#FFFFFF#000000##000000
##21A0481.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29140
Deuteranopia (green-blind)
#93874F
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a048;
/* rgb */ color: rgb(33, 160, 72);
/* oklch */ color: oklch(62.0% 0.166 148.4);
Tailwind
colors: {
  custom: {
    50: '#73bd7d',
    500: '#21a048',
    950: '#000000',
  },
}
SCSS
$custom: #21a048;
$custom-light: #73bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#21a048",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 72
  },
  "hsl": {
    "h": 138.425,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62017,
    "c": 0.1656,
    "h": 148.4
  },
  "luminance": 0.25933
}

Semantic roles & 50–950 ramp

primary
#21A048
secondary
#C25BA2
accent
#3FB5E9
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #21A048

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

Preview Lab → · Contrast checker → · Palette generator →

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