#21A034#21A034

#21A034 is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.182 H 144.9°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#21A034
RGBrgb(33, 160, 52)
HSLhsl(129, 66%, 38%)
HSVhsv(129, 79%, 63%)
CMYKcmyk(79.4%, 0%, 67.5%, 37.3%)
CIE-LABlab(57.76, -55.04, 45.25)
CIE-LCHlch(57.76, 71.25, 140.57°)
OKLaboklab(61.78% -0.1485 0.1046)
OKLCHoklch(61.78% 0.182 144.9)
XYZxyz(13.8169, 25.7112, 7.4827)
Luminance0.2571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A034 #A0218D
analogous
#4EA021 #21A034 #21A073
triadic
#21A034 #3421A0 #A03421
tetradic
#21A034 #214EA0 #A0218D #A07321
square
#21A034 #214EA0 #A0218D #A07321
split-complementary
#21A034 #7321A0 #A0214E
monochromatic
#0C3B13 #176D24 #21A034 #2BD344 #5EDE71

Accessibility & contrast

On white

3.42
#21A034 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#21A034 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A034
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A034#FFFFFF#000000##000000
##21A0341.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39126
Deuteranopia (green-blind)
#95873E
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a034;
/* rgb */ color: rgb(33, 160, 52);
/* oklch */ color: oklch(61.8% 0.182 144.9);
Tailwind
colors: {
  custom: {
    50: '#73bd71',
    500: '#21a034',
    950: '#000000',
  },
}
SCSS
$custom: #21a034;
$custom-light: #73bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#21a034",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 52
  },
  "hsl": {
    "h": 128.976,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61775,
    "c": 0.18166,
    "h": 144.9
  },
  "luminance": 0.25713
}

Semantic roles & 50–950 ramp

primary
#21A034
secondary
#C25BB3
accent
#3FCFE9
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A034

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

Preview Lab → · Contrast checker → · Palette generator →

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