#21A74E#21A74E

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

Color values

HEX#21A74E
RGBrgb(33, 167, 78)
HSLhsl(140, 67%, 39%)
HSVhsv(140, 80%, 65%)
CMYKcmyk(80.2%, 0%, 53.3%, 34.5%)
CIE-LABlab(60.35, -54.04, 36.07)
CIE-LCHlch(60.35, 64.97, 146.27°)
OKLaboklab(64.01% -0.1451 0.0869)
OKLCHoklch(64.01% 0.169 149.1)
XYZxyz(15.8197, 28.5089, 11.8753)
Luminance0.2851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A74E #A7217A
analogous
#37A721 #21A74E #21A791
triadic
#21A74E #4E21A7 #A74E21
tetradic
#21A74E #2137A7 #A7217A #A79121
square
#21A74E #2137A7 #A7217A #A79121
split-complementary
#21A74E #9121A7 #A72137
monochromatic
#0D411E #177436 #21A74E #2FD667 #62E08D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A74E#FFFFFF#000000##000000
##21A74E1.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)
#A89846
Deuteranopia (green-blind)
#998D55
Tritanopia (blue-blind)
#00A493
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #21a74e;
/* rgb */ color: rgb(33, 167, 78);
/* oklch */ color: oklch(64.0% 0.169 149.1);
Tailwind
colors: {
  custom: {
    50: '#74c281',
    500: '#21a74e',
    950: '#000000',
  },
}
SCSS
$custom: #21a74e;
$custom-light: #74c281;
$custom-dark: #000000;
JSON
{
  "hex": "#21a74e",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 78
  },
  "hsl": {
    "h": 140.149,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64009,
    "c": 0.16914,
    "h": 149.1
  },
  "luminance": 0.28511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21A74E

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

Preview Lab → · Contrast checker → · Palette generator →

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