#21A52E#21A52E

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

Color values

HEX#21A52E
RGBrgb(33, 165, 46)
HSLhsl(126, 67%, 39%)
HSVhsv(126, 80%, 65%)
CMYKcmyk(80%, 0%, 72.1%, 35.3%)
CIE-LABlab(59.37, -57.25, 49.41)
CIE-LCHlch(59.37, 75.62, 139.20°)
OKLaboklab(63.1% -0.1548 0.1126)
OKLCHoklch(63.1% 0.191 144)
XYZxyz(14.5745, 27.4291, 7.1105)
Luminance0.2743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A52E #A52198
analogous
#56A521 #21A52E #21A570
triadic
#21A52E #2E21A5 #A52E21
tetradic
#21A52E #2156A5 #A52198 #A57021
square
#21A52E #2156A5 #A52198 #A57021
split-complementary
#21A52E #7021A5 #A52156
monochromatic
#0D3F12 #177220 #21A52E #2ED53E #61DF6D

Accessibility & contrast

On white

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

On black

6.49
#21A52E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A52E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A52E#FFFFFF#000000##000000
##21A52E1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951A
Deuteranopia (green-blind)
#9A8B3A
Tritanopia (blue-blind)
#00A08E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #21a52e;
/* rgb */ color: rgb(33, 165, 46);
/* oklch */ color: oklch(63.1% 0.191 144.0);
Tailwind
colors: {
  custom: {
    50: '#75c16e',
    500: '#21a52e',
    950: '#000000',
  },
}
SCSS
$custom: #21a52e;
$custom-light: #75c16e;
$custom-dark: #000000;
JSON
{
  "hex": "#21a52e",
  "rgb": {
    "r": 33,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 125.909,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63096,
    "c": 0.19142,
    "h": 144
  },
  "luminance": 0.27431
}

Semantic roles & 50–950 ramp

primary
#21A52E
secondary
#C45EBA
accent
#3ED9EA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A52E

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

Preview Lab → · Contrast checker → · Palette generator →

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