#21A22E#21A22E

#21A22E is a light, vivid green. Relative luminance 0.264; OKLCH L 62.3% C 0.188 H 144.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#21A22E
RGBrgb(33, 162, 46)
HSLhsl(126, 66%, 38%)
HSVhsv(126, 80%, 64%)
CMYKcmyk(79.6%, 0%, 71.6%, 36.5%)
CIE-LABlab(58.38, -56.28, 48.38)
CIE-LCHlch(58.38, 74.21, 139.32°)
OKLaboklab(62.27% -0.1522 0.1104)
OKLCHoklch(62.27% 0.188 144)
XYZxyz(14.0397, 26.3596, 6.9322)
Luminance0.2636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A22E #A22195
analogous
#54A221 #21A22E #21A26F
triadic
#21A22E #2E21A2 #A22E21
tetradic
#21A22E #2154A2 #A22195 #A26F21
square
#21A22E #2154A2 #A22195 #A26F21
split-complementary
#21A22E #6F21A2 #A22154
monochromatic
#0C3C11 #176F20 #21A22E #2CD43D #5FDE6C

Accessibility & contrast

On white

3.35
#21A22E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#21A22E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A22E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A22E#FFFFFF#000000##000000
##21A22E1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921C
Deuteranopia (green-blind)
#97893A
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a22e;
/* rgb */ color: rgb(33, 162, 46);
/* oklch */ color: oklch(62.3% 0.188 144.0);
Tailwind
colors: {
  custom: {
    50: '#74bf6d',
    500: '#21a22e',
    950: '#000000',
  },
}
SCSS
$custom: #21a22e;
$custom-light: #74bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#21a22e",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 126.047,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6227,
    "c": 0.18803,
    "h": 144
  },
  "luminance": 0.26361
}

Semantic roles & 50–950 ramp

primary
#21A22E
secondary
#C35CB9
accent
#3FD8E9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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