#21C242#21C242

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

Color values

HEX#21C242
RGBrgb(33, 194, 66)
HSLhsl(132, 71%, 45%)
HSVhsv(132, 83%, 76%)
CMYKcmyk(83%, 0%, 66%, 23.9%)
CIE-LABlab(68.97, -64.44, 51.58)
CIE-LCHlch(68.97, 82.54, 141.32°)
OKLaboklab(71.13% -0.1736 0.1195)
OKLCHoklch(71.13% 0.211 145.5)
XYZxyz(20.9008, 39.2976, 11.6369)
Luminance0.3930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21C242 #C221A1
analogous
#51C221 #21C242 #21C293
triadic
#21C242 #4221C2 #C24221
tetradic
#21C242 #2151C2 #C221A1 #C29321
square
#21C242 #2151C2 #C221A1 #C29321
split-complementary
#21C242 #9321C2 #C22151
monochromatic
#0F591E #188E30 #21C242 #41DF62 #76E88D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21C242#FFFFFF#000000##000000
##21C2421.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)
#C5AF31
Deuteranopia (green-blind)
#B4A44E
Tritanopia (blue-blind)
#00BDA8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #21c242;
/* rgb */ color: rgb(33, 194, 66);
/* oklch */ color: oklch(71.1% 0.211 145.5);
Tailwind
colors: {
  custom: {
    50: '#7bd67c',
    500: '#21c242',
    950: '#000000',
  },
}
SCSS
$custom: #21c242;
$custom-light: #7bd67c;
$custom-dark: #000000;
JSON
{
  "hex": "#21c242",
  "rgb": {
    "r": 33,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 132.298,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71126,
    "c": 0.21071,
    "h": 145.5
  },
  "luminance": 0.393
}

Semantic roles & 50–950 ramp

primary
#21C242
secondary
#CF70BB
accent
#3AC9EE
background
#F8FDF7
surface
#EFFAEE
border
#CAD3C9
text
#0B140A
muted
#7C837C

Preview Lab

Preview with #21C242

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

Preview Lab → · Contrast checker → · Palette generator →

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