#21A64F#21A64F

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

Color values

HEX#21A64F
RGBrgb(33, 166, 79)
HSLhsl(141, 67%, 39%)
HSVhsv(141, 80%, 65%)
CMYKcmyk(80.1%, 0%, 52.4%, 34.9%)
CIE-LABlab(60.03, -53.54, 35.19)
CIE-LCHlch(60.03, 64.06, 146.68°)
OKLaboklab(63.75% -0.1437 0.085)
OKLCHoklch(63.75% 0.167 149.4)
XYZxyz(15.6734, 28.1584, 12.0047)
Luminance0.2816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A64F #A62178
analogous
#36A621 #21A64F #21A692
triadic
#21A64F #4F21A6 #A64F21
tetradic
#21A64F #2136A6 #A62178 #A69221
square
#21A64F #2136A6 #A62178 #A69221
split-complementary
#21A64F #9221A6 #A62136
monochromatic
#0D401E #177337 #21A64F #2FD668 #62E08D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A64F#FFFFFF#000000##000000
##21A64F1.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)
#A79747
Deuteranopia (green-blind)
#988D56
Tritanopia (blue-blind)
#00A392
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #21a64f;
/* rgb */ color: rgb(33, 166, 79);
/* oklch */ color: oklch(63.8% 0.167 149.4);
Tailwind
colors: {
  custom: {
    50: '#74c282',
    500: '#21a64f',
    950: '#000000',
  },
}
SCSS
$custom: #21a64f;
$custom-light: #74c282;
$custom-dark: #000000;
JSON
{
  "hex": "#21a64f",
  "rgb": {
    "r": 33,
    "g": 166,
    "b": 79
  },
  "hsl": {
    "h": 140.752,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63753,
    "c": 0.16699,
    "h": 149.4
  },
  "luminance": 0.2816
}

Semantic roles & 50–950 ramp

primary
#21A64F
secondary
#C55EA1
accent
#3EAEEA
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #21A64F

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

Preview Lab → · Contrast checker → · Palette generator →

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