#21A748#21A748

#21A748 is a light, vivid green. Relative luminance 0.284; OKLCH L 63.9% C 0.174 H 147.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#21A748
RGBrgb(33, 167, 72)
HSLhsl(137, 67%, 39%)
HSVhsv(137, 80%, 65%)
CMYKcmyk(80.2%, 0%, 56.9%, 34.5%)
CIE-LABlab(60.27, -54.92, 38.94)
CIE-LCHlch(60.27, 67.32, 144.66°)
OKLaboklab(63.92% -0.1476 0.0928)
OKLCHoklch(63.92% 0.174 147.8)
XYZxyz(15.6144, 28.4267, 10.7936)
Luminance0.2843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A748 #A72180
analogous
#3DA721 #21A748 #21A78B
triadic
#21A748 #4821A7 #A74821
tetradic
#21A748 #213DA7 #A72180 #A78B21
square
#21A748 #213DA7 #A72180 #A78B21
split-complementary
#21A748 #8B21A7 #A7213D
monochromatic
#0D411C #177432 #21A748 #2FD660 #62E087

Accessibility & contrast

On white

3.14
#21A748 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#21A748 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A748
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A748#FFFFFF#000000##000000
##21A7481.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9983F
Deuteranopia (green-blind)
#9A8D50
Tritanopia (blue-blind)
#00A392
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #21a748;
/* rgb */ color: rgb(33, 167, 72);
/* oklch */ color: oklch(63.9% 0.174 147.8);
Tailwind
colors: {
  custom: {
    50: '#74c27e',
    500: '#21a748',
    950: '#000000',
  },
}
SCSS
$custom: #21a748;
$custom-light: #74c27e;
$custom-dark: #000000;
JSON
{
  "hex": "#21a748",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 72
  },
  "hsl": {
    "h": 137.463,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63924,
    "c": 0.17434,
    "h": 147.8
  },
  "luminance": 0.28429
}

Semantic roles & 50–950 ramp

primary
#21A748
secondary
#C55FA7
accent
#3EB8EA
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #21A748

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

Preview Lab → · Contrast checker → · Palette generator →

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