#21A142#21A142

#21A142 is a light, vivid green. Relative luminance 0.262; OKLCH L 62.2% C 0.172 H 147.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#21A142
RGBrgb(33, 161, 66)
HSLhsl(135, 66%, 38%)
HSVhsv(135, 80%, 63%)
CMYKcmyk(79.5%, 0%, 59%, 36.9%)
CIE-LABlab(58.23, -53.69, 39.42)
CIE-LCHlch(58.23, 66.61, 143.72°)
OKLaboklab(62.21% -0.1444 0.0934)
OKLCHoklch(62.21% 0.172 147.1)
XYZxyz(14.3543, 26.2047, 9.4547)
Luminance0.2621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A142 #A12180
analogous
#40A121 #21A142 #21A182
triadic
#21A142 #4221A1 #A14221
tetradic
#21A142 #2140A1 #A12180 #A18221
square
#21A142 #2140A1 #A12180 #A18221
split-complementary
#21A142 #8221A1 #A12140
monochromatic
#0C3B18 #176E2D #21A142 #2CD457 #5EDE7F

Accessibility & contrast

On white

3.36
#21A142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#21A142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A142
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A142#FFFFFF#000000##000000
##21A1421.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39238
Deuteranopia (green-blind)
#95884A
Tritanopia (blue-blind)
#009D8C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a142;
/* rgb */ color: rgb(33, 161, 66);
/* oklch */ color: oklch(62.2% 0.172 147.1);
Tailwind
colors: {
  custom: {
    50: '#73be79',
    500: '#21a142',
    950: '#000000',
  },
}
SCSS
$custom: #21a142;
$custom-light: #73be79;
$custom-dark: #000000;
JSON
{
  "hex": "#21a142",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 135.469,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62209,
    "c": 0.17199,
    "h": 147.1
  },
  "luminance": 0.26206
}

Semantic roles & 50–950 ramp

primary
#21A142
secondary
#C35BA8
accent
#3FBDE9
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #21A142

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

Preview Lab → · Contrast checker → · Palette generator →

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