#21A728#21A728

#21A728 is a light, vivid green. Relative luminance 0.281; OKLCH L 63.6% C 0.197 H 143.3°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#21A728
RGBrgb(33, 167, 40)
HSLhsl(123, 67%, 39%)
HSVhsv(123, 80%, 65%)
CMYKcmyk(80.2%, 0%, 76%, 34.5%)
CIE-LABlab(59.99, -58.38, 52.25)
CIE-LCHlch(59.99, 78.35, 138.17°)
OKLaboklab(63.6% -0.1582 0.1177)
OKLCHoklch(63.6% 0.197 143.3)
XYZxyz(14.8279, 28.1122, 6.6518)
Luminance0.2811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A728 #A721A0
analogous
#5DA721 #21A728 #21A76B
triadic
#21A728 #2821A7 #A72821
tetradic
#21A728 #215DA7 #A721A0 #A76B21
square
#21A728 #215DA7 #A721A0 #A76B21
split-complementary
#21A728 #6B21A7 #A7215D
monochromatic
#0D4110 #17741C #21A728 #2FD638 #62E069

Accessibility & contrast

On white

3.17
#21A728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#21A728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A728
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A728#FFFFFF#000000##000000
##21A7281.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970C
Deuteranopia (green-blind)
#9C8D36
Tritanopia (blue-blind)
#00A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #21a728;
/* rgb */ color: rgb(33, 167, 40);
/* oklch */ color: oklch(63.6% 0.197 143.3);
Tailwind
colors: {
  custom: {
    50: '#76c26b',
    500: '#21a728',
    950: '#000000',
  },
}
SCSS
$custom: #21a728;
$custom-light: #76c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#21a728",
  "rgb": {
    "r": 33,
    "g": 167,
    "b": 40
  },
  "hsl": {
    "h": 123.134,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63599,
    "c": 0.19716,
    "h": 143.3
  },
  "luminance": 0.28114
}

Semantic roles & 50–950 ramp

primary
#21A728
secondary
#C55FC0
accent
#3EE1EA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1307
muted
#7C827A

Preview Lab

Preview with #21A728

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

Preview Lab → · Contrast checker → · Palette generator →

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