#21A02B#21A02B

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

Color values

HEX#21A02B
RGBrgb(33, 160, 43)
HSLhsl(125, 66%, 38%)
HSVhsv(125, 79%, 63%)
CMYKcmyk(79.4%, 0%, 73.1%, 37.3%)
CIE-LABlab(57.69, -55.90, 48.83)
CIE-LCHlch(57.69, 74.23, 138.87°)
OKLaboklab(61.69% -0.1513 0.111)
OKLCHoklch(61.69% 0.188 143.7)
XYZxyz(13.6331, 25.6377, 6.5151)
Luminance0.2564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A02B #A02196
analogous
#57A021 #21A02B #21A06A
triadic
#21A02B #2B21A0 #A02B21
tetradic
#21A02B #2157A0 #A02196 #A06A21
square
#21A02B #2157A0 #A02196 #A06A21
split-complementary
#21A02B #6A21A0 #A02157
monochromatic
#0C3B10 #176D1D #21A02B #2BD339 #5EDE68

Accessibility & contrast

On white

3.43
#21A02B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A02B#FFFFFF#000000##000000
##21A02B1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21a02b;
/* rgb */ color: rgb(33, 160, 43);
/* oklch */ color: oklch(61.7% 0.188 143.7);
Tailwind
colors: {
  custom: {
    50: '#74bd6c',
    500: '#21a02b',
    950: '#000000',
  },
}
SCSS
$custom: #21a02b;
$custom-light: #74bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#21a02b",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 124.724,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61694,
    "c": 0.18764,
    "h": 143.7
  },
  "luminance": 0.25639
}

Semantic roles & 50–950 ramp

primary
#21A02B
secondary
#C25BBA
accent
#3FDBE9
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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