#21A62B#21A62B

#21A62B is a light, vivid green. Relative luminance 0.278; OKLCH L 63.3% C 0.194 H 143.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#21A62B
RGBrgb(33, 166, 43)
HSLhsl(125, 67%, 39%)
HSVhsv(125, 80%, 65%)
CMYKcmyk(80.1%, 0%, 74.1%, 34.9%)
CIE-LABlab(59.68, -57.82, 50.86)
CIE-LCHlch(59.68, 77.01, 138.67°)
OKLaboklab(63.35% -0.1565 0.1152)
OKLCHoklch(63.35% 0.194 143.6)
XYZxyz(14.6985, 27.7684, 6.8702)
Luminance0.2777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21A62B #A6219C
analogous
#5AA621 #21A62B #21A66E
triadic
#21A62B #2B21A6 #A62B21
tetradic
#21A62B #215AA6 #A6219C #A66E21
square
#21A62B #215AA6 #A6219C #A66E21
split-complementary
#21A62B #6E21A6 #A6215A
monochromatic
#0D4011 #17731E #21A62B #2FD63B #62E06B

Accessibility & contrast

On white

3.20
#21A62B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#21A62B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21A62B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21A62B#FFFFFF#000000##000000
##21A62B1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99614
Deuteranopia (green-blind)
#9B8C38
Tritanopia (blue-blind)
#00A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #21a62b;
/* rgb */ color: rgb(33, 166, 43);
/* oklch */ color: oklch(63.3% 0.194 143.6);
Tailwind
colors: {
  custom: {
    50: '#75c26c',
    500: '#21a62b',
    950: '#000000',
  },
}
SCSS
$custom: #21a62b;
$custom-light: #75c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#21a62b",
  "rgb": {
    "r": 33,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 124.511,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63346,
    "c": 0.19435,
    "h": 143.6
  },
  "luminance": 0.2777
}

Semantic roles & 50–950 ramp

primary
#21A62B
secondary
#C55EBD
accent
#3EDDEA
background
#F7FCF6
surface
#EEF8EC
border
#C9D1C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #21A62B

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

Preview Lab → · Contrast checker → · Palette generator →

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