#21A32D#21A32D

#21A32D is a light, vivid green. Relative luminance 0.267; OKLCH L 62.5% C 0.190 H 143.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#21A32D
RGBrgb(33, 163, 45)
HSLhsl(126, 66%, 38%)
HSVhsv(126, 80%, 64%)
CMYKcmyk(79.8%, 0%, 72.4%, 36.1%)
CIE-LABlab(58.70, -56.69, 49.10)
CIE-LCHlch(58.70, 75.00, 139.10°)
OKLaboklab(62.54% -0.1533 0.1118)
OKLCHoklch(62.54% 0.19 143.9)
XYZxyz(14.1971, 26.7055, 6.8886)
Luminance0.2671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A32D #A32197
analogous
#56A321 #21A32D #21A36E
triadic
#21A32D #2D21A3 #A32D21
tetradic
#21A32D #2156A3 #A32197 #A36E21
square
#21A32D #2156A3 #A32197 #A36E21
split-complementary
#21A32D #6E21A3 #A32156
monochromatic
#0C3D11 #17701F #21A32D #2DD43C #60DF6B

Accessibility & contrast

On white

3.31
#21A32D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#21A32D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A32D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A32D#FFFFFF#000000##000000
##21A32D1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21a32d;
/* rgb */ color: rgb(33, 163, 45);
/* oklch */ color: oklch(62.5% 0.190 143.9);
Tailwind
colors: {
  custom: {
    50: '#75bf6d',
    500: '#21a32d',
    950: '#000000',
  },
}
SCSS
$custom: #21a32d;
$custom-light: #75bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#21a32d",
  "rgb": {
    "r": 33,
    "g": 163,
    "b": 45
  },
  "hsl": {
    "h": 125.538,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62537,
    "c": 0.18979,
    "h": 143.9
  },
  "luminance": 0.26707
}

Semantic roles & 50–950 ramp

primary
#21A32D
secondary
#C35CBA
accent
#3FD9E9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A32D

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

Preview Lab → · Contrast checker → · Palette generator →

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