#21A42E#21A42E

#21A42E is a light, vivid green. Relative luminance 0.271; OKLCH L 62.8% C 0.190 H 144.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#21A42E
RGBrgb(33, 164, 46)
HSLhsl(126, 66%, 39%)
HSVhsv(126, 80%, 64%)
CMYKcmyk(79.9%, 0%, 72%, 35.7%)
CIE-LABlab(59.04, -56.93, 49.06)
CIE-LCHlch(59.04, 75.15, 139.24°)
OKLaboklab(62.82% -0.1539 0.1119)
OKLCHoklch(62.82% 0.19 144)
XYZxyz(14.3948, 27.0698, 7.0506)
Luminance0.2707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A42E #A42197
analogous
#55A421 #21A42E #21A46F
triadic
#21A42E #2E21A4 #A42E21
tetradic
#21A42E #2155A4 #A42197 #A46F21
square
#21A42E #2155A4 #A42197 #A46F21
split-complementary
#21A42E #6F21A4 #A42155
monochromatic
#0C3E11 #177120 #21A42E #2DD53E #60DF6D

Accessibility & contrast

On white

3.27
#21A42E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#21A42E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A42E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A42E#FFFFFF#000000##000000
##21A42E1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941B
Deuteranopia (green-blind)
#998A3A
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #21a42e;
/* rgb */ color: rgb(33, 164, 46);
/* oklch */ color: oklch(62.8% 0.190 144.0);
Tailwind
colors: {
  custom: {
    50: '#75c06e',
    500: '#21a42e',
    950: '#000000',
  },
}
SCSS
$custom: #21a42e;
$custom-light: #75c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#21a42e",
  "rgb": {
    "r": 33,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 125.954,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62821,
    "c": 0.19029,
    "h": 144
  },
  "luminance": 0.27072
}

Semantic roles & 50–950 ramp

primary
#21A42E
secondary
#C45DBA
accent
#3ED8E9
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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