#21A023#21A023

#21A023 is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.6% C 0.192 H 142.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#21A023
RGBrgb(33, 160, 35)
HSLhsl(121, 66%, 38%)
HSVhsv(121, 79%, 63%)
CMYKcmyk(79.4%, 0%, 78.1%, 37.3%)
CIE-LABlab(57.64, -56.54, 51.64)
CIE-LCHlch(57.64, 76.57, 137.59°)
OKLaboklab(61.64% -0.1534 0.1158)
OKLCHoklch(61.64% 0.192 142.9)
XYZxyz(13.5005, 25.5847, 5.8166)
Luminance0.2559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A023 #A0219E
analogous
#5EA021 #21A023 #21A062
triadic
#21A023 #2321A0 #A02321
tetradic
#21A023 #215EA0 #A0219E #A06221
square
#21A023 #215EA0 #A0219E #A06221
split-complementary
#21A023 #6221A0 #A0215E
monochromatic
#0C3B0D #176D18 #21A023 #2BD32E #5EDE60

Accessibility & contrast

On white

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

On black

6.12
#21A023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A023
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A023#FFFFFF#000000##000000
##21A0231.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49002
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#009B89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #21a023;
/* rgb */ color: rgb(33, 160, 35);
/* oklch */ color: oklch(61.6% 0.192 142.9);
Tailwind
colors: {
  custom: {
    50: '#74bd68',
    500: '#21a023',
    950: '#000000',
  },
}
SCSS
$custom: #21a023;
$custom-light: #74bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#21a023",
  "rgb": {
    "r": 33,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 120.945,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61635,
    "c": 0.19217,
    "h": 142.9
  },
  "luminance": 0.25586
}

Semantic roles & 50–950 ramp

primary
#21A023
secondary
#C25BC1
accent
#3FE6E9
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A023

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

Preview Lab → · Contrast checker → · Palette generator →

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