#21A139#21A139

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

Color values

HEX#21A139
RGBrgb(33, 161, 57)
HSLhsl(131, 66%, 38%)
HSVhsv(131, 80%, 63%)
CMYKcmyk(79.5%, 0%, 64.6%, 36.9%)
CIE-LABlab(58.14, -54.82, 43.48)
CIE-LCHlch(58.14, 69.97, 141.58°)
OKLaboklab(62.1% -0.1477 0.1014)
OKLCHoklch(62.1% 0.179 145.5)
XYZxyz(14.1096, 26.1068, 8.1656)
Luminance0.2611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A139 #A12189
analogous
#49A121 #21A139 #21A179
triadic
#21A139 #3921A1 #A13921
tetradic
#21A139 #2149A1 #A12189 #A17921
square
#21A139 #2149A1 #A12189 #A17921
split-complementary
#21A139 #7921A1 #A12149
monochromatic
#0C3B15 #176E27 #21A139 #2CD44B #5EDE76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A139#FFFFFF#000000##000000
##21A1391.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)
#A4922D
Deuteranopia (green-blind)
#968842
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a139;
/* rgb */ color: rgb(33, 161, 57);
/* oklch */ color: oklch(62.1% 0.179 145.5);
Tailwind
colors: {
  custom: {
    50: '#73be74',
    500: '#21a139',
    950: '#000000',
  },
}
SCSS
$custom: #21a139;
$custom-light: #73be74;
$custom-dark: #000000;
JSON
{
  "hex": "#21a139",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 57
  },
  "hsl": {
    "h": 131.25,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62102,
    "c": 0.17917,
    "h": 145.5
  },
  "luminance": 0.26108
}

Semantic roles & 50–950 ramp

primary
#21A139
secondary
#C35BAF
accent
#3FC9E9
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A139

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

Preview Lab → · Contrast checker → · Palette generator →

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