#21A02E#21A02E

#21A02E is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.7% C 0.186 H 144.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#21A02E
RGBrgb(33, 160, 46)
HSLhsl(126, 66%, 38%)
HSVhsv(126, 79%, 63%)
CMYKcmyk(79.4%, 0%, 71.2%, 37.3%)
CIE-LABlab(57.71, -55.63, 47.68)
CIE-LCHlch(57.71, 73.27, 139.40°)
OKLaboklab(61.72% -0.1504 0.109)
OKLCHoklch(61.72% 0.186 144.1)
XYZxyz(13.6902, 25.6606, 6.8157)
Luminance0.2566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A02E #A02193
analogous
#53A021 #21A02E #21A06E
triadic
#21A02E #2E21A0 #A02E21
tetradic
#21A02E #2153A0 #A02193 #A06E21
square
#21A02E #2153A0 #A02193 #A06E21
split-complementary
#21A02E #6E21A0 #A02153
monochromatic
#0C3B11 #176D1F #21A02E #2BD33D #5EDE6B

Accessibility & contrast

On white

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

On black

6.13
#21A02E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A02E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A02E#FFFFFF#000000##000000
##21A02E1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3901C
Deuteranopia (green-blind)
#958739
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a02e;
/* rgb */ color: rgb(33, 160, 46);
/* oklch */ color: oklch(61.7% 0.186 144.1);
Tailwind
colors: {
  custom: {
    50: '#74bd6d',
    500: '#21a02e',
    950: '#000000',
  },
}
SCSS
$custom: #21a02e;
$custom-light: #74bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#21a02e",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 126.142,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61719,
    "c": 0.18574,
    "h": 144.1
  },
  "luminance": 0.25662
}

Semantic roles & 50–950 ramp

primary
#21A02E
secondary
#C25BB8
accent
#3FD7E9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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