#21A840#21A840

#21A840 is a light, vivid green. Relative luminance 0.287; OKLCH L 64.1% C 0.182 H 146.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#21A840
RGBrgb(33, 168, 64)
HSLhsl(134, 67%, 39%)
HSVhsv(134, 80%, 66%)
CMYKcmyk(80.4%, 0%, 61.9%, 34.1%)
CIE-LABlab(60.51, -56.31, 43.00)
CIE-LCHlch(60.51, 70.85, 142.63°)
OKLaboklab(64.1% -0.1515 0.101)
OKLCHoklch(64.1% 0.182 146.3)
XYZxyz(15.5541, 28.6969, 9.5688)
Luminance0.2870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A840 #A82189
analogous
#45A821 #21A840 #21A884
triadic
#21A840 #4021A8 #A84021
tetradic
#21A840 #2145A8 #A82189 #A88421
square
#21A840 #2145A8 #A82189 #A88421
split-complementary
#21A840 #8421A8 #A82145
monochromatic
#0D4219 #17752D #21A840 #30D656 #63E080

Accessibility & contrast

On white

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

On black

6.74
#21A840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A840
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A840#FFFFFF#000000##000000
##21A8401.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9835
Deuteranopia (green-blind)
#9C8E49
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a840;
/* rgb */ color: rgb(33, 168, 64);
/* oklch */ color: oklch(64.1% 0.182 146.3);
Tailwind
colors: {
  custom: {
    50: '#75c379',
    500: '#21a840',
    950: '#000000',
  },
}
SCSS
$custom: #21a840;
$custom-light: #75c379;
$custom-dark: #000000;
JSON
{
  "hex": "#21a840",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 133.778,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64096,
    "c": 0.18212,
    "h": 146.3
  },
  "luminance": 0.28699
}

Semantic roles & 50–950 ramp

primary
#21A840
secondary
#C55FAE
accent
#3EC2EA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21A840

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

Preview Lab → · Contrast checker → · Palette generator →

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