#21A52D#21A52D

#21A52D is a light, vivid green. Relative luminance 0.274; OKLCH L 63.1% C 0.192 H 143.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#21A52D
RGBrgb(33, 165, 45)
HSLhsl(125, 67%, 39%)
HSVhsv(125, 80%, 65%)
CMYKcmyk(80%, 0%, 72.7%, 35.3%)
CIE-LABlab(59.36, -57.33, 49.78)
CIE-LCHlch(59.36, 75.93, 139.03°)
OKLaboklab(63.09% -0.1551 0.1133)
OKLCHoklch(63.09% 0.192 143.9)
XYZxyz(14.5550, 27.4213, 7.0079)
Luminance0.2742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A52D #A52199
analogous
#57A521 #21A52D #21A56F
triadic
#21A52D #2D21A5 #A52D21
tetradic
#21A52D #2157A5 #A52199 #A56F21
square
#21A52D #2157A5 #A52199 #A56F21
split-complementary
#21A52D #6F21A5 #A52157
monochromatic
#0D3F11 #17721F #21A52D #2ED53D #61DF6C

Accessibility & contrast

On white

3.24
#21A52D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#21A52D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A52D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A52D#FFFFFF#000000##000000
##21A52D1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89519
Deuteranopia (green-blind)
#9A8B39
Tritanopia (blue-blind)
#00A08D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #21a52d;
/* rgb */ color: rgb(33, 165, 45);
/* oklch */ color: oklch(63.1% 0.192 143.9);
Tailwind
colors: {
  custom: {
    50: '#75c16d',
    500: '#21a52d',
    950: '#000000',
  },
}
SCSS
$custom: #21a52d;
$custom-light: #75c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#21a52d",
  "rgb": {
    "r": 33,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 125.455,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63087,
    "c": 0.19204,
    "h": 143.9
  },
  "luminance": 0.27423
}

Semantic roles & 50–950 ramp

primary
#21A52D
secondary
#C45EBB
accent
#3EDAEA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A52D

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

Preview Lab → · Contrast checker → · Palette generator →

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