#21A627#21A627

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

Color values

HEX#21A627
RGBrgb(33, 166, 39)
HSLhsl(123, 67%, 39%)
HSVhsv(123, 80%, 65%)
CMYKcmyk(80.1%, 0%, 76.5%, 34.9%)
CIE-LABlab(59.65, -58.14, 52.26)
CIE-LCHlch(59.65, 78.18, 138.05°)
OKLaboklab(63.32% -0.1575 0.1176)
OKLCHoklch(63.32% 0.197 143.3)
XYZxyz(14.6287, 27.7405, 6.5025)
Luminance0.2774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A627 #A621A0
analogous
#5EA621 #21A627 #21A66A
triadic
#21A627 #2721A6 #A62721
tetradic
#21A627 #215EA6 #A621A0 #A66A21
square
#21A627 #215EA6 #A621A0 #A66A21
split-complementary
#21A627 #6A21A6 #A6215E
monochromatic
#0D400F #17731B #21A627 #2FD636 #62E067

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A627#FFFFFF#000000##000000
##21A6271.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)
#AA960A
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #21a627;
/* rgb */ color: rgb(33, 166, 39);
/* oklch */ color: oklch(63.3% 0.197 143.3);
Tailwind
colors: {
  custom: {
    50: '#76c26a',
    500: '#21a627',
    950: '#000000',
  },
}
SCSS
$custom: #21a627;
$custom-light: #76c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#21a627",
  "rgb": {
    "r": 33,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 122.707,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63317,
    "c": 0.19662,
    "h": 143.3
  },
  "luminance": 0.27742
}

Semantic roles & 50–950 ramp

primary
#21A627
secondary
#C55EC0
accent
#3EE2EA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A627

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

Preview Lab → · Contrast checker → · Palette generator →

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