#21B328#21B328

#21B328 is a light, highly saturated green. Relative luminance 0.327; OKLCH L 66.9% C 0.210 H 143.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#21B328
RGBrgb(33, 179, 40)
HSLhsl(123, 69%, 42%)
HSVhsv(123, 82%, 70%)
CMYKcmyk(81.6%, 0%, 77.7%, 29.8%)
CIE-LABlab(63.93, -62.10, 56.12)
CIE-LCHlch(63.93, 83.70, 137.89°)
OKLaboklab(66.88% -0.1683 0.1258)
OKLCHoklch(66.88% 0.21 143.2)
XYZxyz(17.1292, 32.7146, 7.4189)
Luminance0.3272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B328 #B321AC
analogous
#63B321 #21B328 #21B371
triadic
#21B328 #2821B3 #B32821
tetradic
#21B328 #2163B3 #B321AC #B37121
square
#21B328 #2163B3 #B321AC #B37121
split-complementary
#21B328 #7121B3 #B32163
monochromatic
#0E4C11 #177F1C #21B328 #37DA3F #6BE471

Accessibility & contrast

On white

2.78
#21B328 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#21B328 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B328
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B328#FFFFFF#000000##000000
##21B3281.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A102
Deuteranopia (green-blind)
#A79738
Tritanopia (blue-blind)
#00AE99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #21b328;
/* rgb */ color: rgb(33, 179, 40);
/* oklch */ color: oklch(66.9% 0.210 143.2);
Tailwind
colors: {
  custom: {
    50: '#79cb6d',
    500: '#21b328',
    950: '#000000',
  },
}
SCSS
$custom: #21b328;
$custom-light: #79cb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#21b328",
  "rgb": {
    "r": 33,
    "g": 179,
    "b": 40
  },
  "hsl": {
    "h": 122.877,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66877,
    "c": 0.21009,
    "h": 143.2
  },
  "luminance": 0.32717
}

Semantic roles & 50–950 ramp

primary
#21B328
secondary
#CA66C5
accent
#3CE3EC
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #21B328

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

Preview Lab → · Contrast checker → · Palette generator →

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