#21A42B#21A42B

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

Color values

HEX#21A42B
RGBrgb(33, 164, 43)
HSLhsl(125, 66%, 39%)
HSVhsv(125, 80%, 64%)
CMYKcmyk(79.9%, 0%, 73.8%, 35.7%)
CIE-LABlab(59.02, -57.19, 50.19)
CIE-LCHlch(59.02, 76.09, 138.73°)
OKLaboklab(62.8% -0.1548 0.1138)
OKLCHoklch(62.8% 0.192 143.7)
XYZxyz(14.3378, 27.0469, 6.7500)
Luminance0.2705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A42B #A4219A
analogous
#58A421 #21A42B #21A46C
triadic
#21A42B #2B21A4 #A42B21
tetradic
#21A42B #2158A4 #A4219A #A46C21
square
#21A42B #2158A4 #A4219A #A46C21
split-complementary
#21A42B #6C21A4 #A42158
monochromatic
#0C3E10 #17711E #21A42B #2DD53A #60DF6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A42B#FFFFFF#000000##000000
##21A42B1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21a42b;
/* rgb */ color: rgb(33, 164, 43);
/* oklch */ color: oklch(62.8% 0.192 143.7);
Tailwind
colors: {
  custom: {
    50: '#75c06c',
    500: '#21a42b',
    950: '#000000',
  },
}
SCSS
$custom: #21a42b;
$custom-light: #75c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#21a42b",
  "rgb": {
    "r": 33,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 124.58,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62797,
    "c": 0.19213,
    "h": 143.7
  },
  "luminance": 0.27049
}

Semantic roles & 50–950 ramp

primary
#21A42B
secondary
#C45DBC
accent
#3EDCE9
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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