#21C229#21C229

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

Color values

HEX#21C229
RGBrgb(33, 194, 41)
HSLhsl(123, 71%, 45%)
HSVhsv(123, 83%, 76%)
CMYKcmyk(83%, 0%, 78.9%, 23.9%)
CIE-LABlab(68.80, -66.55, 60.50)
CIE-LCHlch(68.80, 89.94, 137.72°)
OKLaboklab(70.93% -0.1803 0.1351)
OKLCHoklch(70.93% 0.225 143.2)
XYZxyz(20.3179, 39.0645, 8.5668)
Luminance0.3907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21C229 #C221BA
analogous
#6AC221 #21C229 #21C279
triadic
#21C229 #2921C2 #C22921
tetradic
#21C229 #216AC2 #C221BA #C27921
square
#21C229 #216AC2 #C221BA #C27921
split-complementary
#21C229 #7921C2 #C2216A
monochromatic
#0F5913 #188E1E #21C229 #41DF49 #76E87B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21C229#FFFFFF#000000##000000
##21C2291.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)
#B5A33C
Tritanopia (blue-blind)
#00BCA6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #21c229;
/* rgb */ color: rgb(33, 194, 41);
/* oklch */ color: oklch(70.9% 0.225 143.2);
Tailwind
colors: {
  custom: {
    50: '#7dd66f',
    500: '#21c229',
    950: '#000000',
  },
}
SCSS
$custom: #21c229;
$custom-light: #7dd66f;
$custom-dark: #000000;
JSON
{
  "hex": "#21c229",
  "rgb": {
    "r": 33,
    "g": 194,
    "b": 41
  },
  "hsl": {
    "h": 122.981,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70932,
    "c": 0.22529,
    "h": 143.2
  },
  "luminance": 0.39067
}

Semantic roles & 50–950 ramp

primary
#21C229
secondary
#CF70CA
accent
#3AE5EE
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #21C229

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

Preview Lab → · Contrast checker → · Palette generator →

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