#21A64B#21A64B

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

Color values

HEX#21A64B
RGBrgb(33, 166, 75)
HSLhsl(139, 67%, 39%)
HSVhsv(139, 80%, 65%)
CMYKcmyk(80.1%, 0%, 54.8%, 34.9%)
CIE-LABlab(59.98, -54.14, 37.12)
CIE-LCHlch(59.98, 65.65, 145.56°)
OKLaboklab(63.69% -0.1454 0.089)
OKLCHoklch(63.69% 0.171 148.5)
XYZxyz(15.5322, 28.1019, 11.2609)
Luminance0.2810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A64B #A6217C
analogous
#3AA621 #21A64B #21A68E
triadic
#21A64B #4B21A6 #A64B21
tetradic
#21A64B #213AA6 #A6217C #A68E21
square
#21A64B #213AA6 #A6217C #A68E21
split-complementary
#21A64B #8E21A6 #A6213A
monochromatic
#0D401D #177334 #21A64B #2FD663 #62E089

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A64B#FFFFFF#000000##000000
##21A64B1.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)
#A89743
Deuteranopia (green-blind)
#998C52
Tritanopia (blue-blind)
#00A391
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #21a64b;
/* rgb */ color: rgb(33, 166, 75);
/* oklch */ color: oklch(63.7% 0.171 148.5);
Tailwind
colors: {
  custom: {
    50: '#74c27f',
    500: '#21a64b',
    950: '#000000',
  },
}
SCSS
$custom: #21a64b;
$custom-light: #74c27f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a64b",
  "rgb": {
    "r": 33,
    "g": 166,
    "b": 75
  },
  "hsl": {
    "h": 138.947,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63694,
    "c": 0.17051,
    "h": 148.5
  },
  "luminance": 0.28104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21A64B

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

Preview Lab → · Contrast checker → · Palette generator →

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