#21A762#21A762

#21A762 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.3% C 0.151 H 154.6°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#21A762
RGBrgb(33, 167, 98)
HSLhsl(149, 67%, 39%)
HSVhsv(149, 80%, 65%)
CMYKcmyk(80.2%, 0%, 41.3%, 34.5%)
CIE-LABlab(60.64, -50.59, 26.07)
CIE-LCHlch(60.64, 56.91, 152.74°)
OKLaboklab(64.35% -0.1362 0.0648)
OKLCHoklch(64.35% 0.151 154.6)
XYZxyz(16.6489, 28.8406, 16.2422)
Luminance0.2884 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A762 #A72166
analogous
#23A721 #21A762 #21A7A5
triadic
#21A762 #6221A7 #A76221
tetradic
#21A762 #2123A7 #A72166 #A7A521
square
#21A762 #2123A7 #A72166 #A7A521
split-complementary
#21A762 #A521A7 #A72123
monochromatic
#0D4126 #177444 #21A762 #2FD680 #62E09F

Accessibility & contrast

On white

3.10
#21A762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#21A762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A762
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A762#FFFFFF#000000##000000
##21A7621.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7995D
Deuteranopia (green-blind)
#978E67
Tritanopia (blue-blind)
#00A596
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a762;
/* rgb */ color: rgb(33, 167, 98);
/* oklch */ color: oklch(64.3% 0.151 154.6);
Tailwind
colors: {
  custom: {
    50: '#74c28f',
    500: '#21a762',
    950: '#000000',
  },
}
SCSS
$custom: #21a762;
$custom-light: #74c28f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a762",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 98
  },
  "hsl": {
    "h": 149.104,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64349,
    "c": 0.15081,
    "h": 154.6
  },
  "luminance": 0.28843
}

Semantic roles & 50–950 ramp

primary
#21A762
secondary
#C55F93
accent
#3E96EA
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #21A762

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

Preview Lab → · Contrast checker → · Palette generator →

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