#21A23C#21A23C

#21A23C is a light, vivid green. Relative luminance 0.265; OKLCH L 62.4% C 0.178 H 146.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#21A23C
RGBrgb(33, 162, 60)
HSLhsl(133, 66%, 38%)
HSVhsv(133, 80%, 64%)
CMYKcmyk(79.6%, 0%, 63%, 36.5%)
CIE-LABlab(58.50, -54.80, 42.53)
CIE-LCHlch(58.50, 69.37, 142.18°)
OKLaboklab(62.41% -0.1476 0.0996)
OKLCHoklch(62.41% 0.178 146)
XYZxyz(14.3621, 26.4885, 8.6300)
Luminance0.2649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A23C #A22187
analogous
#46A221 #21A23C #21A27C
triadic
#21A23C #3C21A2 #A23C21
tetradic
#21A23C #2146A2 #A22187 #A27C21
square
#21A23C #2146A2 #A22187 #A27C21
split-complementary
#21A23C #7C21A2 #A22146
monochromatic
#0C3C16 #176F29 #21A23C #2CD44F #5FDE7A

Accessibility & contrast

On white

3.33
#21A23C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#21A23C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A23C
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A23C#FFFFFF#000000##000000
##21A23C1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49330
Deuteranopia (green-blind)
#968945
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #21a23c;
/* rgb */ color: rgb(33, 162, 60);
/* oklch */ color: oklch(62.4% 0.178 146.0);
Tailwind
colors: {
  custom: {
    50: '#74bf76',
    500: '#21a23c',
    950: '#000000',
  },
}
SCSS
$custom: #21a23c;
$custom-light: #74bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#21a23c",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 132.558,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6241,
    "c": 0.17806,
    "h": 146
  },
  "luminance": 0.2649
}

Semantic roles & 50–950 ramp

primary
#21A23C
secondary
#C35CAD
accent
#3FC5E9
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #21A23C

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

Preview Lab → · Contrast checker → · Palette generator →

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