#21A017#21A017

#21A017 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.6% C 0.197 H 142.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#21A017
RGBrgb(33, 160, 23)
HSLhsl(116, 75%, 36%)
HSVhsv(116, 86%, 63%)
CMYKcmyk(79.4%, 0%, 85.6%, 37.3%)
CIE-LABlab(57.58, -57.25, 55.09)
CIE-LCHlch(57.58, 79.45, 136.10°)
OKLaboklab(61.57% -0.1558 0.1213)
OKLCHoklch(61.57% 0.197 142.1)
XYZxyz(13.3519, 25.5252, 5.0336)
Luminance0.2553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A017 #9617A0
analogous
#65A017 #21A017 #17A051
triadic
#21A017 #1721A0 #A01721
tetradic
#21A017 #1765A0 #9617A0 #A05117
square
#21A017 #1765A0 #9617A0 #A05117
split-complementary
#21A017 #5117A0 #A01765
monochromatic
#0B3508 #166A0F #21A017 #2CD61F #57E54C

Accessibility & contrast

On white

3.44
#21A017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#21A017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A017
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A017#FFFFFF#000000##000000
##21A0171.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#96872A
Tritanopia (blue-blind)
#009B88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #21a017;
/* rgb */ color: rgb(33, 160, 23);
/* oklch */ color: oklch(61.6% 0.197 142.1);
Tailwind
colors: {
  custom: {
    50: '#75bd63',
    500: '#21a017',
    950: '#000000',
  },
}
SCSS
$custom: #21a017;
$custom-light: #75bd63;
$custom-dark: #000000;
JSON
{
  "hex": "#21a017",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 115.62,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6157,
    "c": 0.19747,
    "h": 142.1
  },
  "luminance": 0.25527
}

Semantic roles & 50–950 ramp

primary
#21A017
secondary
#BE4CC7
accent
#36F1E4
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #21A017

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

Preview Lab → · Contrast checker → · Palette generator →

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