#21A03B#21A03B

#21A03B is a mid, vivid green. Relative luminance 0.258; OKLCH L 61.9% C 0.176 H 145.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#21A03B
RGBrgb(33, 160, 59)
HSLhsl(132, 66%, 38%)
HSVhsv(132, 79%, 63%)
CMYKcmyk(79.4%, 0%, 63.1%, 37.3%)
CIE-LABlab(57.83, -54.25, 42.23)
CIE-LCHlch(57.83, 68.75, 142.10°)
OKLaboklab(61.85% -0.1461 0.0989)
OKLCHoklch(61.85% 0.176 145.9)
XYZxyz(13.9864, 25.7790, 8.3755)
Luminance0.2578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A03B #A02186
analogous
#47A021 #21A03B #21A07A
triadic
#21A03B #3B21A0 #A03B21
tetradic
#21A03B #2147A0 #A02186 #A07A21
square
#21A03B #2147A0 #A02186 #A07A21
split-complementary
#21A03B #7A21A0 #A02147
monochromatic
#0C3B16 #176D28 #21A03B #2BD34E #5EDE78

Accessibility & contrast

On white

3.41
#21A03B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#21A03B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A03B
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A03B#FFFFFF#000000##000000
##21A03B1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29130
Deuteranopia (green-blind)
#948744
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a03b;
/* rgb */ color: rgb(33, 160, 59);
/* oklch */ color: oklch(61.9% 0.176 145.9);
Tailwind
colors: {
  custom: {
    50: '#73bd75',
    500: '#21a03b',
    950: '#000000',
  },
}
SCSS
$custom: #21a03b;
$custom-light: #73bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#21a03b",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 59
  },
  "hsl": {
    "h": 132.283,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6185,
    "c": 0.17643,
    "h": 145.9
  },
  "luminance": 0.25781
}

Semantic roles & 50–950 ramp

primary
#21A03B
secondary
#C25BAD
accent
#3FC6E9
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#091208
muted
#7B817B

Preview Lab

Preview with #21A03B

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

Preview Lab → · Contrast checker → · Palette generator →

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