#21A239#21A239

#21A239 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.4% C 0.180 H 145.5°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#21A239
RGBrgb(33, 162, 57)
HSLhsl(131, 66%, 38%)
HSVhsv(131, 80%, 64%)
CMYKcmyk(79.6%, 0%, 64.8%, 36.5%)
CIE-LABlab(58.47, -55.15, 43.85)
CIE-LCHlch(58.47, 70.46, 141.51°)
OKLaboklab(62.38% -0.1486 0.1021)
OKLCHoklch(62.38% 0.18 145.5)
XYZxyz(14.2850, 26.4577, 8.2241)
Luminance0.2646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A239 #A2218A
analogous
#49A221 #21A239 #21A279
triadic
#21A239 #3921A2 #A23921
tetradic
#21A239 #2149A2 #A2218A #A27921
square
#21A239 #2149A2 #A2218A #A27921
split-complementary
#21A239 #7921A2 #A22149
monochromatic
#0C3C15 #176F27 #21A239 #2CD44B #5FDE77

Accessibility & contrast

On white

3.34
#21A239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#21A239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A239
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A239#FFFFFF#000000##000000
##21A2391.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932C
Deuteranopia (green-blind)
#968942
Tritanopia (blue-blind)
#009E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #21a239;
/* rgb */ color: rgb(33, 162, 57);
/* oklch */ color: oklch(62.4% 0.180 145.5);
Tailwind
colors: {
  custom: {
    50: '#74bf74',
    500: '#21a239',
    950: '#000000',
  },
}
SCSS
$custom: #21a239;
$custom-light: #74bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#21a239",
  "rgb": {
    "r": 33,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 131.163,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62377,
    "c": 0.18035,
    "h": 145.5
  },
  "luminance": 0.26459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21A239

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

Preview Lab → · Contrast checker → · Palette generator →

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