#21A54F#21A54F

#21A54F is a light, vivid green. Relative luminance 0.278; OKLCH L 63.5% C 0.166 H 149.5°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#21A54F
RGBrgb(33, 165, 79)
HSLhsl(141, 67%, 39%)
HSVhsv(141, 80%, 65%)
CMYKcmyk(80%, 0%, 52.1%, 35.3%)
CIE-LABlab(59.70, -53.19, 34.78)
CIE-LCHlch(59.70, 63.55, 146.81°)
OKLaboklab(63.48% -0.1428 0.0841)
OKLCHoklch(63.48% 0.166 149.5)
XYZxyz(15.4923, 27.7962, 11.9443)
Luminance0.2780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A54F #A52177
analogous
#35A521 #21A54F #21A591
triadic
#21A54F #4F21A5 #A54F21
tetradic
#21A54F #2135A5 #A52177 #A59121
square
#21A54F #2135A5 #A52177 #A59121
split-complementary
#21A54F #9121A5 #A52135
monochromatic
#0D3F1E #177237 #21A54F #2ED568 #61DF8D

Accessibility & contrast

On white

3.20
#21A54F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#21A54F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A54F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A54F#FFFFFF#000000##000000
##21A54F1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69648
Deuteranopia (green-blind)
#978C55
Tritanopia (blue-blind)
#00A291
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #21a54f;
/* rgb */ color: rgb(33, 165, 79);
/* oklch */ color: oklch(63.5% 0.166 149.5);
Tailwind
colors: {
  custom: {
    50: '#74c182',
    500: '#21a54f',
    950: '#000000',
  },
}
SCSS
$custom: #21a54f;
$custom-light: #74c182;
$custom-dark: #000000;
JSON
{
  "hex": "#21a54f",
  "rgb": {
    "r": 33,
    "g": 165,
    "b": 79
  },
  "hsl": {
    "h": 140.909,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63482,
    "c": 0.16572,
    "h": 149.5
  },
  "luminance": 0.27798
}

Semantic roles & 50–950 ramp

primary
#21A54F
secondary
#C45EA0
accent
#3EAEEA
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #21A54F

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

Preview Lab → · Contrast checker → · Palette generator →

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