#21A42A#21A42A

#21A42A is a light, vivid green. Relative luminance 0.270; OKLCH L 62.8% C 0.193 H 143.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#21A42A
RGBrgb(33, 164, 42)
HSLhsl(124, 66%, 39%)
HSVhsv(124, 80%, 64%)
CMYKcmyk(79.9%, 0%, 74.4%, 35.7%)
CIE-LABlab(59.01, -57.27, 50.55)
CIE-LCHlch(59.01, 76.39, 138.57°)
OKLaboklab(62.79% -0.155 0.1145)
OKLCHoklch(62.79% 0.193 143.6)
XYZxyz(14.3196, 27.0397, 6.6545)
Luminance0.2704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A42A #A4219B
analogous
#59A421 #21A42A #21A46B
triadic
#21A42A #2A21A4 #A42A21
tetradic
#21A42A #2159A4 #A4219B #A46B21
square
#21A42A #2159A4 #A4219B #A46B21
split-complementary
#21A42A #6B21A4 #A42159
monochromatic
#0C3E10 #17711D #21A42A #2DD539 #60DF69

Accessibility & contrast

On white

3.28
#21A42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#21A42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A42A
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A42A#FFFFFF#000000##000000
##21A42A1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79413
Deuteranopia (green-blind)
#998A37
Tritanopia (blue-blind)
#009F8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #21a42a;
/* rgb */ color: rgb(33, 164, 42);
/* oklch */ color: oklch(62.8% 0.193 143.6);
Tailwind
colors: {
  custom: {
    50: '#75c06c',
    500: '#21a42a',
    950: '#000000',
  },
}
SCSS
$custom: #21a42a;
$custom-light: #75c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#21a42a",
  "rgb": {
    "r": 33,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 124.122,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62789,
    "c": 0.19272,
    "h": 143.6
  },
  "luminance": 0.27041
}

Semantic roles & 50–950 ramp

primary
#21A42A
secondary
#C45DBD
accent
#3EDEE9
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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