#21A72F#21A72F

#21A72F is a light, vivid green. Relative luminance 0.282; OKLCH L 63.7% C 0.193 H 144.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#21A72F
RGBrgb(33, 167, 47)
HSLhsl(126, 67%, 39%)
HSVhsv(126, 80%, 65%)
CMYKcmyk(80.2%, 0%, 71.9%, 34.5%)
CIE-LABlab(60.04, -57.80, 49.71)
CIE-LCHlch(60.04, 76.23, 139.30°)
OKLaboklab(63.65% -0.1563 0.1134)
OKLCHoklch(63.65% 0.193 144)
XYZxyz(14.9580, 28.1642, 7.3367)
Luminance0.2817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A72F #A72199
analogous
#56A721 #21A72F #21A772
triadic
#21A72F #2F21A7 #A72F21
tetradic
#21A72F #2156A7 #A72199 #A77221
square
#21A72F #2156A7 #A72199 #A77221
split-complementary
#21A72F #7221A7 #A72156
monochromatic
#0D4112 #177421 #21A72F #2FD641 #62E06F

Accessibility & contrast

On white

3.17
#21A72F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#21A72F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A72F
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A72F#FFFFFF#000000##000000
##21A72F1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971B
Deuteranopia (green-blind)
#9C8D3B
Tritanopia (blue-blind)
#00A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #21a72f;
/* rgb */ color: rgb(33, 167, 47);
/* oklch */ color: oklch(63.7% 0.193 144.0);
Tailwind
colors: {
  custom: {
    50: '#75c26f',
    500: '#21a72f',
    950: '#000000',
  },
}
SCSS
$custom: #21a72f;
$custom-light: #75c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a72f",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 126.269,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63653,
    "c": 0.19304,
    "h": 144
  },
  "luminance": 0.28166
}

Semantic roles & 50–950 ramp

primary
#21A72F
secondary
#C55FBA
accent
#3ED8EA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21A72F

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

Preview Lab → · Contrast checker → · Palette generator →

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