#21A426#21A426

#21A426 is a light, vivid green. Relative luminance 0.270; OKLCH L 62.8% C 0.195 H 143.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#21A426
RGBrgb(33, 164, 38)
HSLhsl(122, 66%, 39%)
HSVhsv(122, 80%, 64%)
CMYKcmyk(79.9%, 0%, 76.8%, 35.7%)
CIE-LABlab(58.99, -57.58, 51.95)
CIE-LCHlch(58.99, 77.55, 137.95°)
OKLaboklab(62.76% -0.1561 0.1168)
OKLCHoklch(62.76% 0.195 143.2)
XYZxyz(14.2516, 27.0125, 6.2962)
Luminance0.2701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A426 #A4219F
analogous
#5DA421 #21A426 #21A467
triadic
#21A426 #2621A4 #A42621
tetradic
#21A426 #215DA4 #A4219F #A46721
square
#21A426 #215DA4 #A4219F #A46721
split-complementary
#21A426 #6721A4 #A4215D
monochromatic
#0C3E0E #17711A #21A426 #2DD534 #60DF65

Accessibility & contrast

On white

3.28
#21A426 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#21A426 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A426
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A426#FFFFFF#000000##000000
##21A4261.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89408
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#009F8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #21a426;
/* rgb */ color: rgb(33, 164, 38);
/* oklch */ color: oklch(62.8% 0.195 143.2);
Tailwind
colors: {
  custom: {
    50: '#75c06a',
    500: '#21a426',
    950: '#000000',
  },
}
SCSS
$custom: #21a426;
$custom-light: #75c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#21a426",
  "rgb": {
    "r": 33,
    "g": 164,
    "b": 38
  },
  "hsl": {
    "h": 122.29,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6276,
    "c": 0.19496,
    "h": 143.2
  },
  "luminance": 0.27014
}

Semantic roles & 50–950 ramp

primary
#21A426
secondary
#C45DC0
accent
#3EE3E9
background
#F7FCF6
surface
#EEF8EB
border
#C9D1C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A426

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

Preview Lab → · Contrast checker → · Palette generator →

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