#21A45F#21A45F

#21A45F is a light, vivid green. Relative luminance 0.277; OKLCH L 63.5% C 0.150 H 154.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#21A45F
RGBrgb(33, 164, 95)
HSLhsl(148, 66%, 39%)
HSVhsv(148, 80%, 64%)
CMYKcmyk(79.9%, 0%, 42.1%, 35.7%)
CIE-LABlab(59.62, -50.04, 26.33)
CIE-LCHlch(59.62, 56.55, 152.25°)
OKLaboklab(63.49% -0.1347 0.0653)
OKLCHoklch(63.49% 0.15 154.1)
XYZxyz(15.9667, 27.6985, 15.3291)
Luminance0.2770 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A45F #A42166
analogous
#24A421 #21A45F #21A4A0
triadic
#21A45F #5F21A4 #A45F21
tetradic
#21A45F #2124A4 #A42166 #A4A021
square
#21A45F #2124A4 #A42166 #A4A021
split-complementary
#21A45F #A021A4 #A42124
monochromatic
#0C3E24 #177141 #21A45F #2DD57D #60DF9C

Accessibility & contrast

On white

3.21
#21A45F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#21A45F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A45F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A45F#FFFFFF#000000##000000
##21A45F1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4965A
Deuteranopia (green-blind)
#958B64
Tritanopia (blue-blind)
#00A293
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #21a45f;
/* rgb */ color: rgb(33, 164, 95);
/* oklch */ color: oklch(63.5% 0.150 154.1);
Tailwind
colors: {
  custom: {
    50: '#73c08d',
    500: '#21a45f',
    950: '#000000',
  },
}
SCSS
$custom: #21a45f;
$custom-light: #73c08d;
$custom-dark: #000000;
JSON
{
  "hex": "#21a45f",
  "rgb": {
    "r": 33,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 148.397,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63486,
    "c": 0.14968,
    "h": 154.1
  },
  "luminance": 0.277
}

Semantic roles & 50–950 ramp

primary
#21A45F
secondary
#C45D93
accent
#3E98E9
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#09120C
muted
#7B817D

Preview Lab

Preview with #21A45F

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

Preview Lab → · Contrast checker → · Palette generator →

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