#21C240#21C240

#21C240 is a light, highly saturated green. Relative luminance 0.393; OKLCH L 71.1% C 0.212 H 145.2°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#21C240
RGBrgb(33, 194, 64)
HSLhsl(132, 71%, 45%)
HSVhsv(132, 83%, 76%)
CMYKcmyk(83%, 0%, 67%, 23.9%)
CIE-LABlab(68.95, -64.65, 52.39)
CIE-LCHlch(68.95, 83.21, 140.98°)
OKLaboklab(71.11% -0.1742 0.121)
OKLCHoklch(71.11% 0.212 145.2)
XYZxyz(20.8429, 39.2745, 11.3317)
Luminance0.3928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21C240 #C221A3
analogous
#52C221 #21C240 #21C291
triadic
#21C240 #4021C2 #C24021
tetradic
#21C240 #2152C2 #C221A3 #C29121
square
#21C240 #2152C2 #C221A3 #C29121
split-complementary
#21C240 #9121C2 #C22152
monochromatic
#0F591D #188E2F #21C240 #41DF60 #76E88C

Accessibility & contrast

On white

2.37
#21C240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#21C240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21C240
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21C240#FFFFFF#000000##000000
##21C2401.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2F
Deuteranopia (green-blind)
#B4A44C
Tritanopia (blue-blind)
#00BDA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #21c240;
/* rgb */ color: rgb(33, 194, 64);
/* oklch */ color: oklch(71.1% 0.212 145.2);
Tailwind
colors: {
  custom: {
    50: '#7bd67b',
    500: '#21c240',
    950: '#000000',
  },
}
SCSS
$custom: #21c240;
$custom-light: #7bd67b;
$custom-dark: #000000;
JSON
{
  "hex": "#21c240",
  "rgb": {
    "r": 33,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 131.553,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71107,
    "c": 0.21209,
    "h": 145.2
  },
  "luminance": 0.39277
}

Semantic roles & 50–950 ramp

primary
#21C240
secondary
#CF70BD
accent
#3ACBEE
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0B140A
muted
#7C837C

Preview Lab

Preview with #21C240

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

Preview Lab → · Contrast checker → · Palette generator →

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