#21A74F#21A74F

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

Color values

HEX#21A74F
RGBrgb(33, 167, 79)
HSLhsl(141, 67%, 39%)
HSVhsv(141, 80%, 65%)
CMYKcmyk(80.2%, 0%, 52.7%, 34.5%)
CIE-LABlab(60.36, -53.89, 35.59)
CIE-LCHlch(60.36, 64.58, 146.56°)
OKLaboklab(64.02% -0.1447 0.0859)
OKLCHoklch(64.02% 0.168 149.3)
XYZxyz(15.8559, 28.5233, 12.0655)
Luminance0.2853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A74F #A72179
analogous
#36A721 #21A74F #21A792
triadic
#21A74F #4F21A7 #A74F21
tetradic
#21A74F #2136A7 #A72179 #A79221
square
#21A74F #2136A7 #A72179 #A79221
split-complementary
#21A74F #9221A7 #A72136
monochromatic
#0D411F #177437 #21A74F #2FD668 #62E08E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A74F#FFFFFF#000000##000000
##21A74F1.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)
#A89847
Deuteranopia (green-blind)
#998D56
Tritanopia (blue-blind)
#00A493
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #21a74f;
/* rgb */ color: rgb(33, 167, 79);
/* oklch */ color: oklch(64.0% 0.168 149.3);
Tailwind
colors: {
  custom: {
    50: '#74c282',
    500: '#21a74f',
    950: '#000000',
  },
}
SCSS
$custom: #21a74f;
$custom-light: #74c282;
$custom-dark: #000000;
JSON
{
  "hex": "#21a74f",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 79
  },
  "hsl": {
    "h": 140.597,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64024,
    "c": 0.16826,
    "h": 149.3
  },
  "luminance": 0.28525
}

Semantic roles & 50–950 ramp

primary
#21A74F
secondary
#C55FA2
accent
#3EAFEA
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #21A74F

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

Preview Lab → · Contrast checker → · Palette generator →

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