#21A240#21A240

#21A240 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.5% C 0.175 H 146.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#21A240
RGBrgb(33, 162, 64)
HSLhsl(134, 66%, 38%)
HSVhsv(134, 80%, 64%)
CMYKcmyk(79.6%, 0%, 60.5%, 36.5%)
CIE-LABlab(58.54, -54.30, 40.73)
CIE-LCHlch(58.54, 67.87, 143.13°)
OKLaboklab(62.46% -0.1461 0.0961)
OKLCHoklch(62.46% 0.175 146.7)
XYZxyz(14.4718, 26.5324, 9.2080)
Luminance0.2653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A240 #A22183
analogous
#42A221 #21A240 #21A280
triadic
#21A240 #4021A2 #A24021
tetradic
#21A240 #2142A2 #A22183 #A28021
square
#21A240 #2142A2 #A22183 #A28021
split-complementary
#21A240 #8021A2 #A22142
monochromatic
#0C3C18 #176F2C #21A240 #2CD454 #5FDE7E

Accessibility & contrast

On white

3.33
#21A240 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#21A240 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A240
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A240#FFFFFF#000000##000000
##21A2401.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49336
Deuteranopia (green-blind)
#968948
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #21a240;
/* rgb */ color: rgb(33, 162, 64);
/* oklch */ color: oklch(62.5% 0.175 146.7);
Tailwind
colors: {
  custom: {
    50: '#73bf78',
    500: '#21a240',
    950: '#000000',
  },
}
SCSS
$custom: #21a240;
$custom-light: #73bf78;
$custom-dark: #000000;
JSON
{
  "hex": "#21a240",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 134.419,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62457,
    "c": 0.17486,
    "h": 146.7
  },
  "luminance": 0.26534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21A240

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

Preview Lab → · Contrast checker → · Palette generator →

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