#21A833#21A833

#21A833 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.0% C 0.192 H 144.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#21A833
RGBrgb(33, 168, 51)
HSLhsl(128, 67%, 39%)
HSVhsv(128, 80%, 66%)
CMYKcmyk(80.4%, 0%, 69.6%, 34.1%)
CIE-LABlab(60.40, -57.74, 48.50)
CIE-LCHlch(60.40, 75.41, 139.97°)
OKLaboklab(63.96% -0.1559 0.1113)
OKLCHoklch(63.96% 0.192 144.5)
XYZxyz(15.2263, 28.5658, 7.8426)
Luminance0.2857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A833 #A82196
analogous
#53A821 #21A833 #21A877
triadic
#21A833 #3321A8 #A83321
tetradic
#21A833 #2153A8 #A82196 #A87721
square
#21A833 #2153A8 #A82196 #A87721
split-complementary
#21A833 #7721A8 #A82153
monochromatic
#0D4214 #177523 #21A833 #30D646 #63E074

Accessibility & contrast

On white

3.13
#21A833 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#21A833 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A833
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A833#FFFFFF#000000##000000
##21A8331.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9822
Deuteranopia (green-blind)
#9D8E3E
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a833;
/* rgb */ color: rgb(33, 168, 51);
/* oklch */ color: oklch(64.0% 0.192 144.5);
Tailwind
colors: {
  custom: {
    50: '#76c371',
    500: '#21a833',
    950: '#000000',
  },
}
SCSS
$custom: #21a833;
$custom-light: #76c371;
$custom-dark: #000000;
JSON
{
  "hex": "#21a833",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 128,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63962,
    "c": 0.19159,
    "h": 144.5
  },
  "luminance": 0.28568
}

Semantic roles & 50–950 ramp

primary
#21A833
secondary
#C55FB8
accent
#3ED3EA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21A833

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

Preview Lab → · Contrast checker → · Palette generator →

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