#21A145#21A145

#21A145 is a light, vivid green. Relative luminance 0.262; OKLCH L 62.2% C 0.169 H 147.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#21A145
RGBrgb(33, 161, 69)
HSLhsl(137, 66%, 38%)
HSVhsv(137, 80%, 63%)
CMYKcmyk(79.5%, 0%, 57.1%, 36.9%)
CIE-LABlab(58.27, -53.28, 38.01)
CIE-LCHlch(58.27, 65.45, 144.50°)
OKLaboklab(62.25% -0.1432 0.0906)
OKLCHoklch(62.25% 0.169 147.7)
XYZxyz(14.4451, 26.2410, 9.9328)
Luminance0.2624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A145 #A1217D
analogous
#3DA121 #21A145 #21A185
triadic
#21A145 #4521A1 #A14521
tetradic
#21A145 #213DA1 #A1217D #A18521
square
#21A145 #213DA1 #A1217D #A18521
split-complementary
#21A145 #8521A1 #A1213D
monochromatic
#0C3B19 #176E2F #21A145 #2CD45B #5EDE82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A145#FFFFFF#000000##000000
##21A1451.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)
#A3923C
Deuteranopia (green-blind)
#95884C
Tritanopia (blue-blind)
#009D8D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a145;
/* rgb */ color: rgb(33, 161, 69);
/* oklch */ color: oklch(62.2% 0.169 147.7);
Tailwind
colors: {
  custom: {
    50: '#73be7b',
    500: '#21a145',
    950: '#000000',
  },
}
SCSS
$custom: #21a145;
$custom-light: #73be7b;
$custom-dark: #000000;
JSON
{
  "hex": "#21a145",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 136.875,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62248,
    "c": 0.16946,
    "h": 147.7
  },
  "luminance": 0.26243
}

Semantic roles & 50–950 ramp

primary
#21A145
secondary
#C35BA6
accent
#3FB9E9
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #21A145

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

Preview Lab → · Contrast checker → · Palette generator →

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