#21A12E#21A12E

#21A12E is a mid, vivid green. Relative luminance 0.260; OKLCH L 62.0% C 0.187 H 144.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#21A12E
RGBrgb(33, 161, 46)
HSLhsl(126, 66%, 38%)
HSVhsv(126, 80%, 63%)
CMYKcmyk(79.5%, 0%, 71.4%, 36.9%)
CIE-LABlab(58.05, -55.96, 48.03)
CIE-LCHlch(58.05, 73.74, 139.36°)
OKLaboklab(62% -0.1513 0.1097)
OKLCHoklch(62% 0.187 144.1)
XYZxyz(13.8643, 26.0087, 6.8737)
Luminance0.2601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A12E #A12194
analogous
#54A121 #21A12E #21A16E
triadic
#21A12E #2E21A1 #A12E21
tetradic
#21A12E #2154A1 #A12194 #A16E21
square
#21A12E #2154A1 #A12194 #A16E21
split-complementary
#21A12E #6E21A1 #A12154
monochromatic
#0C3B11 #176E1F #21A12E #2CD43D #5EDE6B

Accessibility & contrast

On white

3.39
#21A12E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#21A12E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A12E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A12E#FFFFFF#000000##000000
##21A12E1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911C
Deuteranopia (green-blind)
#968839
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a12e;
/* rgb */ color: rgb(33, 161, 46);
/* oklch */ color: oklch(62.0% 0.187 144.1);
Tailwind
colors: {
  custom: {
    50: '#74be6d',
    500: '#21a12e',
    950: '#000000',
  },
}
SCSS
$custom: #21a12e;
$custom-light: #74be6d;
$custom-dark: #000000;
JSON
{
  "hex": "#21a12e",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 126.094,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.18688,
    "h": 144.1
  },
  "luminance": 0.2601
}

Semantic roles & 50–950 ramp

primary
#21A12E
secondary
#C35BB8
accent
#3FD8E9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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