#21A42C#21A42C

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

Color values

HEX#21A42C
RGBrgb(33, 164, 44)
HSLhsl(125, 66%, 39%)
HSVhsv(125, 80%, 64%)
CMYKcmyk(79.9%, 0%, 73.2%, 35.7%)
CIE-LABlab(59.02, -57.10, 49.82)
CIE-LCHlch(59.02, 75.78, 138.90°)
OKLaboklab(62.8% -0.1545 0.1132)
OKLCHoklch(62.8% 0.192 143.8)
XYZxyz(14.3563, 27.0544, 6.8478)
Luminance0.2706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A42C #A42199
analogous
#57A421 #21A42C #21A46D
triadic
#21A42C #2C21A4 #A42C21
tetradic
#21A42C #2157A4 #A42199 #A46D21
square
#21A42C #2157A4 #A42199 #A46D21
split-complementary
#21A42C #6D21A4 #A42157
monochromatic
#0C3E11 #17711E #21A42C #2DD53B #60DF6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21A42C#FFFFFF#000000##000000
##21A42C1.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)
#A79417
Deuteranopia (green-blind)
#998A38
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #21a42c;
/* rgb */ color: rgb(33, 164, 44);
/* oklch */ color: oklch(62.8% 0.192 143.8);
Tailwind
colors: {
  custom: {
    50: '#75c06d',
    500: '#21a42c',
    950: '#000000',
  },
}
SCSS
$custom: #21a42c;
$custom-light: #75c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#21a42c",
  "rgb": {
    "r": 33,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 125.038,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62804,
    "c": 0.19153,
    "h": 143.8
  },
  "luminance": 0.27056
}

Semantic roles & 50–950 ramp

primary
#21A42C
secondary
#C45DBB
accent
#3EDBE9
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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