#21A538#21A538

#21A538 is a light, vivid green. Relative luminance 0.275; OKLCH L 63.2% C 0.185 H 145.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#21A538
RGBrgb(33, 165, 56)
HSLhsl(130, 67%, 39%)
HSVhsv(130, 80%, 65%)
CMYKcmyk(80%, 0%, 66.1%, 35.3%)
CIE-LABlab(59.45, -56.25, 45.38)
CIE-LCHlch(59.45, 72.27, 141.11°)
OKLaboklab(63.19% -0.1517 0.1053)
OKLCHoklch(63.19% 0.185 145.2)
XYZxyz(14.7951, 27.5173, 8.2722)
Luminance0.2752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A538 #A5218E
analogous
#4CA521 #21A538 #21A57A
triadic
#21A538 #3821A5 #A53821
tetradic
#21A538 #214CA5 #A5218E #A57A21
square
#21A538 #214CA5 #A5218E #A57A21
split-complementary
#21A538 #7A21A5 #A5214C
monochromatic
#0D3F15 #177227 #21A538 #2ED54B #61DF77

Accessibility & contrast

On white

3.23
#21A538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#21A538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A538
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A538#FFFFFF#000000##000000
##21A5381.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8952A
Deuteranopia (green-blind)
#998B42
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #21a538;
/* rgb */ color: rgb(33, 165, 56);
/* oklch */ color: oklch(63.2% 0.185 145.2);
Tailwind
colors: {
  custom: {
    50: '#74c173',
    500: '#21a538',
    950: '#000000',
  },
}
SCSS
$custom: #21a538;
$custom-light: #74c173;
$custom-dark: #000000;
JSON
{
  "hex": "#21a538",
  "rgb": {
    "r": 33,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 130.455,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63189,
    "c": 0.18464,
    "h": 145.2
  },
  "luminance": 0.27519
}

Semantic roles & 50–950 ramp

primary
#21A538
secondary
#C45EB2
accent
#3ECCEA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A538

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

Preview Lab → · Contrast checker → · Palette generator →

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