#21A628#21A628

#21A628 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.3% C 0.196 H 143.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#21A628
RGBrgb(33, 166, 40)
HSLhsl(123, 67%, 39%)
HSVhsv(123, 80%, 65%)
CMYKcmyk(80.1%, 0%, 75.9%, 34.9%)
CIE-LABlab(59.66, -58.06, 51.92)
CIE-LCHlch(59.66, 77.89, 138.20°)
OKLaboklab(63.32% -0.1573 0.1171)
OKLCHoklch(63.32% 0.196 143.3)
XYZxyz(14.6455, 27.7472, 6.5910)
Luminance0.2775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A628 #A6219F
analogous
#5DA621 #21A628 #21A66B
triadic
#21A628 #2821A6 #A62821
tetradic
#21A628 #215DA6 #A6219F #A66B21
square
#21A628 #215DA6 #A6219F #A66B21
split-complementary
#21A628 #6B21A6 #A6215D
monochromatic
#0D400F #17731C #21A628 #2FD637 #62E068

Accessibility & contrast

On white

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

On black

6.55
#21A628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A628
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A628#FFFFFF#000000##000000
##21A6281.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9960D
Deuteranopia (green-blind)
#9B8C36
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #21a628;
/* rgb */ color: rgb(33, 166, 40);
/* oklch */ color: oklch(63.3% 0.196 143.3);
Tailwind
colors: {
  custom: {
    50: '#76c26b',
    500: '#21a628',
    950: '#000000',
  },
}
SCSS
$custom: #21a628;
$custom-light: #76c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#21a628",
  "rgb": {
    "r": 33,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 123.158,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63324,
    "c": 0.19606,
    "h": 143.3
  },
  "luminance": 0.27749
}

Semantic roles & 50–950 ramp

primary
#21A628
secondary
#C55EBF
accent
#3EE1EA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A628

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

Preview Lab → · Contrast checker → · Palette generator →

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