#21A934#21A934

#21A934 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.2% C 0.192 H 144.6°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#21A934
RGBrgb(33, 169, 52)
HSLhsl(128, 67%, 40%)
HSVhsv(128, 80%, 66%)
CMYKcmyk(80.5%, 0%, 69.2%, 33.7%)
CIE-LABlab(60.73, -57.97, 48.46)
CIE-LCHlch(60.73, 75.55, 140.11°)
OKLaboklab(64.24% -0.1565 0.1113)
OKLCHoklch(64.24% 0.192 144.6)
XYZxyz(15.4339, 28.9453, 8.0217)
Luminance0.2895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A934 #A92196
analogous
#52A921 #21A934 #21A978
triadic
#21A934 #3421A9 #A93421
tetradic
#21A934 #2152A9 #A92196 #A97821
square
#21A934 #2152A9 #A92196 #A97821
split-complementary
#21A934 #7821A9 #A92152
monochromatic
#0D4314 #177624 #21A934 #31D748 #64E175

Accessibility & contrast

On white

3.09
#21A934 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#21A934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A934
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A934#FFFFFF#000000##000000
##21A9341.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21a934;
/* rgb */ color: rgb(33, 169, 52);
/* oklch */ color: oklch(64.2% 0.192 144.6);
Tailwind
colors: {
  custom: {
    50: '#76c472',
    500: '#21a934',
    950: '#000000',
  },
}
SCSS
$custom: #21a934;
$custom-light: #76c472;
$custom-dark: #000000;
JSON
{
  "hex": "#21a934",
  "rgb": {
    "r": 33,
    "g": 169,
    "b": 52
  },
  "hsl": {
    "h": 128.382,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64244,
    "c": 0.19205,
    "h": 144.6
  },
  "luminance": 0.28947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21A934

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

Preview Lab → · Contrast checker → · Palette generator →

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