#21A839#21A839

#21A839 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.0% C 0.187 H 145.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#21A839
RGBrgb(33, 168, 57)
HSLhsl(131, 67%, 39%)
HSVhsv(131, 80%, 66%)
CMYKcmyk(80.4%, 0%, 66.1%, 34.1%)
CIE-LABlab(60.45, -57.12, 46.04)
CIE-LCHlch(60.45, 73.37, 141.13°)
OKLaboklab(64.02% -0.154 0.1068)
OKLCHoklch(64.02% 0.187 145.3)
XYZxyz(15.3672, 28.6221, 8.5848)
Luminance0.2862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A839 #A82190
analogous
#4CA821 #21A839 #21A87D
triadic
#21A839 #3921A8 #A83921
tetradic
#21A839 #214CA8 #A82190 #A87D21
square
#21A839 #214CA8 #A82190 #A87D21
split-complementary
#21A839 #7D21A8 #A8214C
monochromatic
#0D4216 #177528 #21A839 #30D64D #63E079

Accessibility & contrast

On white

3.12
#21A839 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#21A839 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A839
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A839#FFFFFF#000000##000000
##21A8391.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982B
Deuteranopia (green-blind)
#9C8E43
Tritanopia (blue-blind)
#00A491
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a839;
/* rgb */ color: rgb(33, 168, 57);
/* oklch */ color: oklch(64.0% 0.187 145.3);
Tailwind
colors: {
  custom: {
    50: '#75c374',
    500: '#21a839',
    950: '#000000',
  },
}
SCSS
$custom: #21a839;
$custom-light: #75c374;
$custom-dark: #000000;
JSON
{
  "hex": "#21a839",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 57
  },
  "hsl": {
    "h": 130.667,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64019,
    "c": 0.18741,
    "h": 145.3
  },
  "luminance": 0.28624
}

Semantic roles & 50–950 ramp

primary
#21A839
secondary
#C55FB3
accent
#3ECBEA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21A839

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

Preview Lab → · Contrast checker → · Palette generator →

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