#21A131#21A131

#21A131 is a light, vivid green. Relative luminance 0.260; OKLCH L 62.0% C 0.185 H 144.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#21A131
RGBrgb(33, 161, 49)
HSLhsl(128, 66%, 38%)
HSVhsv(128, 80%, 63%)
CMYKcmyk(79.5%, 0%, 69.6%, 36.9%)
CIE-LABlab(58.07, -55.67, 46.84)
CIE-LCHlch(58.07, 72.76, 139.92°)
OKLaboklab(62.02% -0.1504 0.1076)
OKLCHoklch(62.02% 0.185 144.4)
XYZxyz(13.9255, 26.0332, 7.1961)
Luminance0.2604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A131 #A12191
analogous
#51A121 #21A131 #21A171
triadic
#21A131 #3121A1 #A13121
tetradic
#21A131 #2151A1 #A12191 #A17121
square
#21A131 #2151A1 #A12191 #A17121
split-complementary
#21A131 #7121A1 #A12151
monochromatic
#0C3B12 #176E22 #21A131 #2CD441 #5EDE6E

Accessibility & contrast

On white

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

On black

6.21
#21A131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A131
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A131#FFFFFF#000000##000000
##21A1311.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49121
Deuteranopia (green-blind)
#96883C
Tritanopia (blue-blind)
#009D8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a131;
/* rgb */ color: rgb(33, 161, 49);
/* oklch */ color: oklch(62.0% 0.185 144.4);
Tailwind
colors: {
  custom: {
    50: '#74be6f',
    500: '#21a131',
    950: '#000000',
  },
}
SCSS
$custom: #21a131;
$custom-light: #74be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#21a131",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 127.5,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62022,
    "c": 0.18491,
    "h": 144.4
  },
  "luminance": 0.26035
}

Semantic roles & 50–950 ramp

primary
#21A131
secondary
#C35BB6
accent
#3FD4E9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A131

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

Preview Lab → · Contrast checker → · Palette generator →

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