#21A22F#21A22F

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

Color values

HEX#21A22F
RGBrgb(33, 162, 47)
HSLhsl(127, 66%, 38%)
HSVhsv(127, 80%, 64%)
CMYKcmyk(79.6%, 0%, 71%, 36.5%)
CIE-LABlab(58.38, -56.19, 47.99)
CIE-LCHlch(58.38, 73.89, 139.50°)
OKLaboklab(62.28% -0.1519 0.1097)
OKLCHoklch(62.28% 0.187 144.2)
XYZxyz(14.0597, 26.3675, 7.0372)
Luminance0.2637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A22F #A22194
analogous
#53A221 #21A22F #21A26F
triadic
#21A22F #2F21A2 #A22F21
tetradic
#21A22F #2153A2 #A22194 #A26F21
square
#21A22F #2153A2 #A22194 #A26F21
split-complementary
#21A22F #6F21A2 #A22153
monochromatic
#0C3C11 #176F20 #21A22F #2CD43E #5FDE6D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A22F#FFFFFF#000000##000000
##21A22F1.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)
#A5921D
Deuteranopia (green-blind)
#97893A
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a22f;
/* rgb */ color: rgb(33, 162, 47);
/* oklch */ color: oklch(62.3% 0.187 144.2);
Tailwind
colors: {
  custom: {
    50: '#74bf6e',
    500: '#21a22f',
    950: '#000000',
  },
}
SCSS
$custom: #21a22f;
$custom-light: #74bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#21a22f",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 126.512,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62279,
    "c": 0.18739,
    "h": 144.2
  },
  "luminance": 0.26369
}

Semantic roles & 50–950 ramp

primary
#21A22F
secondary
#C35CB8
accent
#3FD7E9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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