#21A123#21A123

#21A123 is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.9% C 0.193 H 142.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#21A123
RGBrgb(33, 161, 35)
HSLhsl(121, 66%, 38%)
HSVhsv(121, 80%, 63%)
CMYKcmyk(79.5%, 0%, 78.3%, 36.9%)
CIE-LABlab(57.97, -56.85, 51.97)
CIE-LCHlch(57.97, 77.03, 137.57°)
OKLaboklab(61.91% -0.1542 0.1165)
OKLCHoklch(61.91% 0.193 142.9)
XYZxyz(13.6746, 25.9328, 5.8746)
Luminance0.2593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A123 #A1219F
analogous
#5FA121 #21A123 #21A163
triadic
#21A123 #2321A1 #A12321
tetradic
#21A123 #215FA1 #A1219F #A16321
square
#21A123 #215FA1 #A1219F #A16321
split-complementary
#21A123 #6321A1 #A1215F
monochromatic
#0C3B0D #176E18 #21A123 #2CD42E #5EDE60

Accessibility & contrast

On white

3.39
#21A123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#21A123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A123
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A123#FFFFFF#000000##000000
##21A1231.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59102
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#009C89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #21a123;
/* rgb */ color: rgb(33, 161, 35);
/* oklch */ color: oklch(61.9% 0.193 142.9);
Tailwind
colors: {
  custom: {
    50: '#75be68',
    500: '#21a123',
    950: '#000000',
  },
}
SCSS
$custom: #21a123;
$custom-light: #75be68;
$custom-dark: #000000;
JSON
{
  "hex": "#21a123",
  "rgb": {
    "r": 33,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 120.938,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61912,
    "c": 0.19326,
    "h": 142.9
  },
  "luminance": 0.25934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #21A123

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

Preview Lab → · Contrast checker → · Palette generator →

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