#21A431#21A431

#21A431 is a light, vivid green. Relative luminance 0.271; OKLCH L 62.8% C 0.188 H 144.3°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#21A431
RGBrgb(33, 164, 49)
HSLhsl(127, 66%, 39%)
HSVhsv(127, 80%, 64%)
CMYKcmyk(79.9%, 0%, 70.1%, 35.7%)
CIE-LABlab(59.06, -56.65, 47.90)
CIE-LCHlch(59.06, 74.18, 139.78°)
OKLaboklab(62.85% -0.153 0.1098)
OKLCHoklch(62.85% 0.188 144.3)
XYZxyz(14.4560, 27.0943, 7.3730)
Luminance0.2710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A431 #A42194
analogous
#52A421 #21A431 #21A472
triadic
#21A431 #3121A4 #A43121
tetradic
#21A431 #2152A4 #A42194 #A47221
square
#21A431 #2152A4 #A42194 #A47221
split-complementary
#21A431 #7221A4 #A42152
monochromatic
#0C3E13 #177122 #21A431 #2DD542 #60DF70

Accessibility & contrast

On white

3.27
#21A431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#21A431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A431
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A431#FFFFFF#000000##000000
##21A4311.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79420
Deuteranopia (green-blind)
#998A3C
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #21a431;
/* rgb */ color: rgb(33, 164, 49);
/* oklch */ color: oklch(62.8% 0.188 144.3);
Tailwind
colors: {
  custom: {
    50: '#75c06f',
    500: '#21a431',
    950: '#000000',
  },
}
SCSS
$custom: #21a431;
$custom-light: #75c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a431",
  "rgb": {
    "r": 33,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 127.328,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62847,
    "c": 0.18835,
    "h": 144.3
  },
  "luminance": 0.27096
}

Semantic roles & 50–950 ramp

primary
#21A431
secondary
#C45DB7
accent
#3ED5E9
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A431

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

Preview Lab → · Contrast checker → · Palette generator →

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