#21B442#21B442

#21B442 is a light, vivid green. Relative luminance 0.334; OKLCH L 67.4% C 0.195 H 146.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#21B442
RGBrgb(33, 180, 66)
HSLhsl(133, 69%, 42%)
HSVhsv(133, 82%, 71%)
CMYKcmyk(81.7%, 0%, 63.3%, 29.4%)
CIE-LABlab(64.45, -60.00, 46.56)
CIE-LCHlch(64.45, 75.95, 142.19°)
OKLaboklab(67.37% -0.1615 0.1088)
OKLCHoklch(67.37% 0.195 146)
XYZxyz(17.9305, 33.3570, 10.6467)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B442 #B42193
analogous
#4AB421 #21B442 #21B48B
triadic
#21B442 #4221B4 #B44221
tetradic
#21B442 #214AB4 #B42193 #B48B21
square
#21B442 #214AB4 #B42193 #B48B21
split-complementary
#21B442 #8B21B4 #B4214A
monochromatic
#0E4D1C #18802F #21B442 #38DA5C #6BE487

Accessibility & contrast

On white

2.74
#21B442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#21B442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B442
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B442#FFFFFF#000000##000000
##21B4421.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A335
Deuteranopia (green-blind)
#A7984C
Tritanopia (blue-blind)
#00B09C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #21b442;
/* rgb */ color: rgb(33, 180, 66);
/* oklch */ color: oklch(67.4% 0.195 146.0);
Tailwind
colors: {
  custom: {
    50: '#78cc7b',
    500: '#21b442',
    950: '#000000',
  },
}
SCSS
$custom: #21b442;
$custom-light: #78cc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#21b442",
  "rgb": {
    "r": 33,
    "g": 180,
    "b": 66
  },
  "hsl": {
    "h": 133.469,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67371,
    "c": 0.19474,
    "h": 146
  },
  "luminance": 0.33359
}

Semantic roles & 50–950 ramp

primary
#21B442
secondary
#CA67B4
accent
#3CC4EC
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #21B442

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

Preview Lab → · Contrast checker → · Palette generator →

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