#21A140#21A140

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

Color values

HEX#21A140
RGBrgb(33, 161, 64)
HSLhsl(135, 66%, 38%)
HSVhsv(135, 80%, 63%)
CMYKcmyk(79.5%, 0%, 60.2%, 36.9%)
CIE-LABlab(58.21, -53.96, 40.35)
CIE-LCHlch(58.21, 67.37, 143.21°)
OKLaboklab(62.18% -0.1452 0.0953)
OKLCHoklch(62.18% 0.174 146.7)
XYZxyz(14.2964, 26.1815, 9.1496)
Luminance0.2618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A140 #A12182
analogous
#42A121 #21A140 #21A180
triadic
#21A140 #4021A1 #A14021
tetradic
#21A140 #2142A1 #A12182 #A18021
square
#21A140 #2142A1 #A12182 #A18021
split-complementary
#21A140 #8021A1 #A12142
monochromatic
#0C3B18 #176E2C #21A140 #2CD454 #5EDE7D

Accessibility & contrast

On white

3.37
#21A140 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#21A140 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A140
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A140#FFFFFF#000000##000000
##21A1401.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39236
Deuteranopia (green-blind)
#958848
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a140;
/* rgb */ color: rgb(33, 161, 64);
/* oklch */ color: oklch(62.2% 0.174 146.7);
Tailwind
colors: {
  custom: {
    50: '#73be78',
    500: '#21a140',
    950: '#000000',
  },
}
SCSS
$custom: #21a140;
$custom-light: #73be78;
$custom-dark: #000000;
JSON
{
  "hex": "#21a140",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 64
  },
  "hsl": {
    "h": 134.531,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62183,
    "c": 0.17364,
    "h": 146.7
  },
  "luminance": 0.26183
}

Semantic roles & 50–950 ramp

primary
#21A140
secondary
#C35BAA
accent
#3FC0E9
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #21A140

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

Preview Lab → · Contrast checker → · Palette generator →

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