#21A64C#21A64C

#21A64C is a light, vivid green. Relative luminance 0.281; OKLCH L 63.7% C 0.170 H 148.7°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#21A64C
RGBrgb(33, 166, 76)
HSLhsl(139, 67%, 39%)
HSVhsv(139, 80%, 65%)
CMYKcmyk(80.1%, 0%, 54.2%, 34.9%)
CIE-LABlab(59.99, -53.99, 36.64)
CIE-LCHlch(59.99, 65.25, 145.84°)
OKLaboklab(63.71% -0.145 0.088)
OKLCHoklch(63.71% 0.17 148.7)
XYZxyz(15.5666, 28.1157, 11.4425)
Luminance0.2812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A64C #A6217B
analogous
#39A621 #21A64C #21A68F
triadic
#21A64C #4C21A6 #A64C21
tetradic
#21A64C #2139A6 #A6217B #A68F21
square
#21A64C #2139A6 #A6217B #A68F21
split-complementary
#21A64C #8F21A6 #A62139
monochromatic
#0D401D #177335 #21A64C #2FD665 #62E08A

Accessibility & contrast

On white

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

On black

6.62
#21A64C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A64C
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A64C#FFFFFF#000000##000000
##21A64C1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79744
Deuteranopia (green-blind)
#998C53
Tritanopia (blue-blind)
#00A392
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #21a64c;
/* rgb */ color: rgb(33, 166, 76);
/* oklch */ color: oklch(63.7% 0.170 148.7);
Tailwind
colors: {
  custom: {
    50: '#74c280',
    500: '#21a64c',
    950: '#000000',
  },
}
SCSS
$custom: #21a64c;
$custom-light: #74c280;
$custom-dark: #000000;
JSON
{
  "hex": "#21a64c",
  "rgb": {
    "r": 33,
    "g": 166,
    "b": 76
  },
  "hsl": {
    "h": 139.398,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.16964,
    "h": 148.7
  },
  "luminance": 0.28118
}

Semantic roles & 50–950 ramp

primary
#21A64C
secondary
#C55EA4
accent
#3EB2EA
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #21A64C

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

Preview Lab → · Contrast checker → · Palette generator →

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