#21A74D#21A74D

#21A74D is a light, vivid green. Relative luminance 0.285; OKLCH L 64.0% C 0.170 H 148.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#21A74D
RGBrgb(33, 167, 77)
HSLhsl(140, 67%, 39%)
HSVhsv(140, 80%, 65%)
CMYKcmyk(80.2%, 0%, 53.9%, 34.5%)
CIE-LABlab(60.33, -54.19, 36.56)
CIE-LCHlch(60.33, 65.37, 146.00°)
OKLaboklab(63.99% -0.1455 0.0879)
OKLCHoklch(63.99% 0.17 148.9)
XYZxyz(15.7842, 28.4947, 11.6879)
Luminance0.2850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A74D #A7217B
analogous
#38A721 #21A74D #21A790
triadic
#21A74D #4D21A7 #A74D21
tetradic
#21A74D #2138A7 #A7217B #A79021
square
#21A74D #2138A7 #A7217B #A79021
split-complementary
#21A74D #9021A7 #A72138
monochromatic
#0D411E #177435 #21A74D #2FD666 #62E08C

Accessibility & contrast

On white

3.13
#21A74D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#21A74D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A74D
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A74D#FFFFFF#000000##000000
##21A74D1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89845
Deuteranopia (green-blind)
#9A8D54
Tritanopia (blue-blind)
#00A493
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #21a74d;
/* rgb */ color: rgb(33, 167, 77);
/* oklch */ color: oklch(64.0% 0.170 148.9);
Tailwind
colors: {
  custom: {
    50: '#74c281',
    500: '#21a74d',
    950: '#000000',
  },
}
SCSS
$custom: #21a74d;
$custom-light: #74c281;
$custom-dark: #000000;
JSON
{
  "hex": "#21a74d",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 77
  },
  "hsl": {
    "h": 139.701,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63994,
    "c": 0.17003,
    "h": 148.9
  },
  "luminance": 0.28497
}

Semantic roles & 50–950 ramp

primary
#21A74D
secondary
#C55FA3
accent
#3EB1EA
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #21A74D

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

Preview Lab → · Contrast checker → · Palette generator →

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