#21A843#21A843

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

Color values

HEX#21A843
RGBrgb(33, 168, 67)
HSLhsl(135, 67%, 39%)
HSVhsv(135, 80%, 66%)
CMYKcmyk(80.4%, 0%, 60.1%, 34.1%)
CIE-LABlab(60.54, -55.93, 41.65)
CIE-LCHlch(60.54, 69.73, 143.33°)
OKLaboklab(64.13% -0.1504 0.0983)
OKLCHoklch(64.13% 0.18 146.8)
XYZxyz(15.6417, 28.7319, 10.0305)
Luminance0.2873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A843 #A82186
analogous
#43A821 #21A843 #21A887
triadic
#21A843 #4321A8 #A84321
tetradic
#21A843 #2143A8 #A82186 #A88721
square
#21A843 #2143A8 #A82186 #A88721
split-complementary
#21A843 #8721A8 #A82143
monochromatic
#0D421A #17752F #21A843 #30D65A #63E083

Accessibility & contrast

On white

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

On black

6.75
#21A843 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A843
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A843#FFFFFF#000000##000000
##21A8431.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21a843;
/* rgb */ color: rgb(33, 168, 67);
/* oklch */ color: oklch(64.1% 0.180 146.8);
Tailwind
colors: {
  custom: {
    50: '#75c37a',
    500: '#21a843',
    950: '#000000',
  },
}
SCSS
$custom: #21a843;
$custom-light: #75c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#21a843",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 67
  },
  "hsl": {
    "h": 135.111,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64132,
    "c": 0.17972,
    "h": 146.8
  },
  "luminance": 0.28734
}

Semantic roles & 50–950 ramp

primary
#21A843
secondary
#C55FAC
accent
#3EBFEA
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #21A843

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

Preview Lab → · Contrast checker → · Palette generator →

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