#21A834#21A834

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

Color values

HEX#21A834
RGBrgb(33, 168, 52)
HSLhsl(128, 67%, 39%)
HSVhsv(128, 80%, 66%)
CMYKcmyk(80.4%, 0%, 69%, 34.1%)
CIE-LABlab(60.40, -57.64, 48.10)
CIE-LCHlch(60.40, 75.08, 140.15°)
OKLaboklab(63.97% -0.1556 0.1106)
OKLCHoklch(63.97% 0.191 144.6)
XYZxyz(15.2486, 28.5747, 7.9600)
Luminance0.2858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A834 #A82195
analogous
#52A821 #21A834 #21A877
triadic
#21A834 #3421A8 #A83421
tetradic
#21A834 #2152A8 #A82195 #A87721
square
#21A834 #2152A8 #A82195 #A87721
split-complementary
#21A834 #7721A8 #A82152
monochromatic
#0D4214 #177524 #21A834 #30D647 #63E075

Accessibility & contrast

On white

3.13
#21A834 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A834#FFFFFF#000000##000000
##21A8341.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9824
Deuteranopia (green-blind)
#9C8E3F
Tritanopia (blue-blind)
#00A391
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #21a834;
/* rgb */ color: rgb(33, 168, 52);
/* oklch */ color: oklch(64.0% 0.191 144.6);
Tailwind
colors: {
  custom: {
    50: '#75c371',
    500: '#21a834',
    950: '#000000',
  },
}
SCSS
$custom: #21a834;
$custom-light: #75c371;
$custom-dark: #000000;
JSON
{
  "hex": "#21a834",
  "rgb": {
    "r": 33,
    "g": 168,
    "b": 52
  },
  "hsl": {
    "h": 128.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63971,
    "c": 0.19092,
    "h": 144.6
  },
  "luminance": 0.28577
}

Semantic roles & 50–950 ramp

primary
#21A834
secondary
#C55FB7
accent
#3ED2EA
background
#F7FCF7
surface
#EEF8ED
border
#C9D1C8
text
#0A1308
muted
#7C827B

Preview Lab

Preview with #21A834

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

Preview Lab → · Contrast checker → · Palette generator →

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