#21C226#21C226

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

Color values

HEX#21C226
RGBrgb(33, 194, 38)
HSLhsl(122, 71%, 45%)
HSVhsv(122, 83%, 76%)
CMYKcmyk(83%, 0%, 80.4%, 23.9%)
CIE-LABlab(68.78, -66.73, 61.37)
CIE-LCHlch(68.78, 90.66, 137.40°)
OKLaboklab(70.91% -0.1809 0.1365)
OKLCHoklch(70.91% 0.227 143)
XYZxyz(20.2675, 39.0443, 8.3015)
Luminance0.3905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21C226 #C221BD
analogous
#6DC221 #21C226 #21C276
triadic
#21C226 #2621C2 #C22621
tetradic
#21C226 #216DC2 #C221BD #C27621
square
#21C226 #216DC2 #C221BD #C27621
split-complementary
#21C226 #7621C2 #C2216D
monochromatic
#0F5912 #188E1C #21C226 #41DF46 #76E879

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21C226#FFFFFF#000000##000000
##21C2261.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: #21c226;
/* rgb */ color: rgb(33, 194, 38);
/* oklch */ color: oklch(70.9% 0.227 143.0);
Tailwind
colors: {
  custom: {
    50: '#7dd66e',
    500: '#21c226',
    950: '#000000',
  },
}
SCSS
$custom: #21c226;
$custom-light: #7dd66e;
$custom-dark: #000000;
JSON
{
  "hex": "#21c226",
  "rgb": {
    "r": 33,
    "g": 194,
    "b": 38
  },
  "hsl": {
    "h": 121.863,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70915,
    "c": 0.22664,
    "h": 143
  },
  "luminance": 0.39047
}

Semantic roles & 50–950 ramp

primary
#21C226
secondary
#CF70CC
accent
#3AE8EE
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #21C226

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

Preview Lab → · Contrast checker → · Palette generator →

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