#21A23D#21A23D

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

Color values

HEX#21A23D
RGBrgb(33, 162, 61)
HSLhsl(133, 66%, 38%)
HSVhsv(133, 80%, 64%)
CMYKcmyk(79.6%, 0%, 62.3%, 36.5%)
CIE-LABlab(58.51, -54.67, 42.09)
CIE-LCHlch(58.51, 69.00, 142.41°)
OKLaboklab(62.42% -0.1472 0.0988)
OKLCHoklch(62.42% 0.177 146.1)
XYZxyz(14.3888, 26.4992, 8.7705)
Luminance0.2650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A23D #A22186
analogous
#45A221 #21A23D #21A27D
triadic
#21A23D #3D21A2 #A23D21
tetradic
#21A23D #2145A2 #A22186 #A27D21
square
#21A23D #2145A2 #A22186 #A27D21
split-complementary
#21A23D #7D21A2 #A22145
monochromatic
#0C3C17 #176F2A #21A23D #2CD451 #5FDE7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A23D#FFFFFF#000000##000000
##21A23D1.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)
#A49332
Deuteranopia (green-blind)
#968946
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #21a23d;
/* rgb */ color: rgb(33, 162, 61);
/* oklch */ color: oklch(62.4% 0.177 146.1);
Tailwind
colors: {
  custom: {
    50: '#74bf76',
    500: '#21a23d',
    950: '#000000',
  },
}
SCSS
$custom: #21a23d;
$custom-light: #74bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#21a23d",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 61
  },
  "hsl": {
    "h": 133.023,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62422,
    "c": 0.17727,
    "h": 146.1
  },
  "luminance": 0.26501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21A23D

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

Preview Lab → · Contrast checker → · Palette generator →

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