#21A148#21A148

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

Color values

HEX#21A148
RGBrgb(33, 161, 72)
HSLhsl(138, 66%, 38%)
HSVhsv(138, 80%, 63%)
CMYKcmyk(79.5%, 0%, 55.3%, 36.9%)
CIE-LABlab(58.30, -52.85, 36.58)
CIE-LCHlch(58.30, 64.27, 145.31°)
OKLaboklab(62.29% -0.142 0.0877)
OKLCHoklch(62.29% 0.167 148.3)
XYZxyz(14.5406, 26.2792, 10.4357)
Luminance0.2628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A148 #A1217A
analogous
#3AA121 #21A148 #21A188
triadic
#21A148 #4821A1 #A14821
tetradic
#21A148 #213AA1 #A1217A #A18821
square
#21A148 #213AA1 #A1217A #A18821
split-complementary
#21A148 #8821A1 #A1213A
monochromatic
#0C3B1B #176E31 #21A148 #2CD45F #5EDE85

Accessibility & contrast

On white

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

On black

6.26
#21A148 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A148
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A148#FFFFFF#000000##000000
##21A1481.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21a148;
/* rgb */ color: rgb(33, 161, 72);
/* oklch */ color: oklch(62.3% 0.167 148.3);
Tailwind
colors: {
  custom: {
    50: '#73be7d',
    500: '#21a148',
    950: '#000000',
  },
}
SCSS
$custom: #21a148;
$custom-light: #73be7d;
$custom-dark: #000000;
JSON
{
  "hex": "#21a148",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 72
  },
  "hsl": {
    "h": 138.281,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6229,
    "c": 0.16686,
    "h": 148.3
  },
  "luminance": 0.26281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21A148

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

Preview Lab → · Contrast checker → · Palette generator →

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