#21A841#21A841

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

Color values

HEX#21A841
RGBrgb(33, 168, 65)
HSLhsl(134, 67%, 39%)
HSVhsv(134, 80%, 66%)
CMYKcmyk(80.4%, 0%, 61.3%, 34.1%)
CIE-LABlab(60.52, -56.19, 42.55)
CIE-LCHlch(60.52, 70.48, 142.86°)
OKLaboklab(64.11% -0.1512 0.1001)
OKLCHoklch(64.11% 0.181 146.5)
XYZxyz(15.5828, 28.7084, 9.7200)
Luminance0.2871 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A841 #A82188
analogous
#45A821 #21A841 #21A885
triadic
#21A841 #4121A8 #A84121
tetradic
#21A841 #2145A8 #A82188 #A88521
square
#21A841 #2145A8 #A82188 #A88521
split-complementary
#21A841 #8521A8 #A82145
monochromatic
#0D4219 #17752D #21A841 #30D657 #63E081

Accessibility & contrast

On white

3.11
#21A841 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A841#FFFFFF#000000##000000
##21A8411.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21a841;
/* rgb */ color: rgb(33, 168, 65);
/* oklch */ color: oklch(64.1% 0.181 146.5);
Tailwind
colors: {
  custom: {
    50: '#75c379',
    500: '#21a841',
    950: '#000000',
  },
}
SCSS
$custom: #21a841;
$custom-light: #75c379;
$custom-dark: #000000;
JSON
{
  "hex": "#21a841",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 65
  },
  "hsl": {
    "h": 134.222,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64108,
    "c": 0.18133,
    "h": 146.5
  },
  "luminance": 0.2871
}

Semantic roles & 50–950 ramp

primary
#21A841
secondary
#C55FAD
accent
#3EC1EA
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21A841

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

Preview Lab → · Contrast checker → · Palette generator →

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