#21A836#21A836

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

Color values

HEX#21A836
RGBrgb(33, 168, 54)
HSLhsl(129, 67%, 39%)
HSVhsv(129, 80%, 66%)
CMYKcmyk(80.4%, 0%, 67.9%, 34.1%)
CIE-LABlab(60.42, -57.44, 47.29)
CIE-LCHlch(60.42, 74.41, 140.53°)
OKLaboklab(63.99% -0.155 0.1091)
OKLCHoklch(63.99% 0.19 144.9)
XYZxyz(15.2946, 28.5931, 8.2023)
Luminance0.2859 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A836 #A82193
analogous
#50A821 #21A836 #21A879
triadic
#21A836 #3621A8 #A83621
tetradic
#21A836 #2150A8 #A82193 #A87921
square
#21A836 #2150A8 #A82193 #A87921
split-complementary
#21A836 #7921A8 #A82150
monochromatic
#0D4215 #177526 #21A836 #30D64A #63E077

Accessibility & contrast

On white

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

On black

6.72
#21A836 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A836
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A836#FFFFFF#000000##000000
##21A8361.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9827
Deuteranopia (green-blind)
#9C8E41
Tritanopia (blue-blind)
#00A391
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a836;
/* rgb */ color: rgb(33, 168, 54);
/* oklch */ color: oklch(64.0% 0.190 144.9);
Tailwind
colors: {
  custom: {
    50: '#75c373',
    500: '#21a836',
    950: '#000000',
  },
}
SCSS
$custom: #21a836;
$custom-light: #75c373;
$custom-dark: #000000;
JSON
{
  "hex": "#21a836",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 54
  },
  "hsl": {
    "h": 129.333,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6399,
    "c": 0.18954,
    "h": 144.9
  },
  "luminance": 0.28595
}

Semantic roles & 50–950 ramp

primary
#21A836
secondary
#C55FB6
accent
#3ECFEA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21A836

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

Preview Lab → · Contrast checker → · Palette generator →

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