#21A138#21A138

#21A138 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.1% C 0.180 H 145.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#21A138
RGBrgb(33, 161, 56)
HSLhsl(131, 66%, 38%)
HSVhsv(131, 80%, 63%)
CMYKcmyk(79.5%, 0%, 65.2%, 36.9%)
CIE-LABlab(58.13, -54.93, 43.92)
CIE-LCHlch(58.13, 70.33, 141.36°)
OKLaboklab(62.09% -0.1481 0.1022)
OKLCHoklch(62.09% 0.18 145.4)
XYZxyz(14.0849, 26.0969, 8.0355)
Luminance0.2610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A138 #A1218A
analogous
#4AA121 #21A138 #21A178
triadic
#21A138 #3821A1 #A13821
tetradic
#21A138 #214AA1 #A1218A #A17821
square
#21A138 #214AA1 #A1218A #A17821
split-complementary
#21A138 #7821A1 #A1214A
monochromatic
#0C3B15 #176E26 #21A138 #2CD44A #5EDE75

Accessibility & contrast

On white

3.38
#21A138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#21A138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A138
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A138#FFFFFF#000000##000000
##21A1381.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4922B
Deuteranopia (green-blind)
#968841
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a138;
/* rgb */ color: rgb(33, 161, 56);
/* oklch */ color: oklch(62.1% 0.180 145.4);
Tailwind
colors: {
  custom: {
    50: '#73be73',
    500: '#21a138',
    950: '#000000',
  },
}
SCSS
$custom: #21a138;
$custom-light: #73be73;
$custom-dark: #000000;
JSON
{
  "hex": "#21a138",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 130.781,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62091,
    "c": 0.17992,
    "h": 145.4
  },
  "luminance": 0.26099
}

Semantic roles & 50–950 ramp

primary
#21A138
secondary
#C35BB0
accent
#3FCAE9
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A138

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

Preview Lab → · Contrast checker → · Palette generator →

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