#21A135#21A135

#21A135 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.1% C 0.182 H 145.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#21A135
RGBrgb(33, 161, 53)
HSLhsl(129, 66%, 38%)
HSVhsv(129, 80%, 63%)
CMYKcmyk(79.5%, 0%, 67.1%, 36.9%)
CIE-LABlab(58.10, -55.26, 45.20)
CIE-LCHlch(58.10, 71.39, 140.72°)
OKLaboklab(62.06% -0.1491 0.1046)
OKLCHoklch(62.06% 0.182 145)
XYZxyz(14.0137, 26.0684, 7.6606)
Luminance0.2607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A135 #A1218D
analogous
#4DA121 #21A135 #21A175
triadic
#21A135 #3521A1 #A13521
tetradic
#21A135 #214DA1 #A1218D #A17521
square
#21A135 #214DA1 #A1218D #A17521
split-complementary
#21A135 #7521A1 #A1214D
monochromatic
#0C3B14 #176E24 #21A135 #2CD446 #5EDE72

Accessibility & contrast

On white

3.38
#21A135 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#21A135 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A135
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A135#FFFFFF#000000##000000
##21A1351.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49227
Deuteranopia (green-blind)
#96883F
Tritanopia (blue-blind)
#009D8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #21a135;
/* rgb */ color: rgb(33, 161, 53);
/* oklch */ color: oklch(62.1% 0.182 145.0);
Tailwind
colors: {
  custom: {
    50: '#74be71',
    500: '#21a135',
    950: '#000000',
  },
}
SCSS
$custom: #21a135;
$custom-light: #74be71;
$custom-dark: #000000;
JSON
{
  "hex": "#21a135",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 53
  },
  "hsl": {
    "h": 129.375,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6206,
    "c": 0.18212,
    "h": 145
  },
  "luminance": 0.2607
}

Semantic roles & 50–950 ramp

primary
#21A135
secondary
#C35BB2
accent
#3FCEE9
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #21A135

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

Preview Lab → · Contrast checker → · Palette generator →

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