#21C227#21C227

#21C227 is a light, highly saturated green. Relative luminance 0.391; OKLCH L 70.9% C 0.226 H 143.0°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#21C227
RGBrgb(33, 194, 39)
HSLhsl(122, 71%, 45%)
HSVhsv(122, 83%, 76%)
CMYKcmyk(83%, 0%, 79.9%, 23.9%)
CIE-LABlab(68.79, -66.67, 61.09)
CIE-LCHlch(68.79, 90.42, 137.50°)
OKLaboklab(70.92% -0.1807 0.136)
OKLCHoklch(70.92% 0.226 143)
XYZxyz(20.2839, 39.0509, 8.3876)
Luminance0.3905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21C227 #C221BC
analogous
#6CC221 #21C227 #21C278
triadic
#21C227 #2721C2 #C22721
tetradic
#21C227 #216CC2 #C221BC #C27821
square
#21C227 #216CC2 #C221BC #C27821
split-complementary
#21C227 #7821C2 #C2216C
monochromatic
#0F5912 #188E1C #21C227 #41DF47 #76E87A

Accessibility & contrast

On white

2.38
#21C227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#21C227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21C227
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21C227#FFFFFF#000000##000000
##21C2271.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#B6A33A
Tritanopia (blue-blind)
#00BCA6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #21c227;
/* rgb */ color: rgb(33, 194, 39);
/* oklch */ color: oklch(70.9% 0.226 143.0);
Tailwind
colors: {
  custom: {
    50: '#7dd66e',
    500: '#21c227',
    950: '#000000',
  },
}
SCSS
$custom: #21c227;
$custom-light: #7dd66e;
$custom-dark: #000000;
JSON
{
  "hex": "#21c227",
  "rgb": {
    "r": 33,
    "g": 194,
    "b": 39
  },
  "hsl": {
    "h": 122.236,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70921,
    "c": 0.2262,
    "h": 143
  },
  "luminance": 0.39053
}

Semantic roles & 50–950 ramp

primary
#21C227
secondary
#CF70CB
accent
#3AE7EE
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #21C227

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

Preview Lab → · Contrast checker → · Palette generator →

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