#21B331#21B331

#21B331 is a light, highly saturated green. Relative luminance 0.328; OKLCH L 66.9% C 0.205 H 144.0°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#21B331
RGBrgb(33, 179, 49)
HSLhsl(127, 69%, 42%)
HSVhsv(127, 82%, 70%)
CMYKcmyk(81.6%, 0%, 72.6%, 29.8%)
CIE-LABlab(63.98, -61.40, 53.03)
CIE-LCHlch(63.98, 81.13, 139.18°)
OKLaboklab(66.94% -0.166 0.1205)
OKLCHoklch(66.94% 0.205 144)
XYZxyz(17.3005, 32.7832, 8.3211)
Luminance0.3278 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B331 #B321A3
analogous
#5AB321 #21B331 #21B37A
triadic
#21B331 #3121B3 #B33121
tetradic
#21B331 #215AB3 #B321A3 #B37A21
square
#21B331 #215AB3 #B321A3 #B37A21
split-complementary
#21B331 #7A21B3 #B3215A
monochromatic
#0E4C15 #177F23 #21B331 #37DA49 #6BE478

Accessibility & contrast

On white

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

On black

7.56
#21B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B331
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B331#FFFFFF#000000##000000
##21B3311.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A21A
Deuteranopia (green-blind)
#A7973E
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #21b331;
/* rgb */ color: rgb(33, 179, 49);
/* oklch */ color: oklch(66.9% 0.205 144.0);
Tailwind
colors: {
  custom: {
    50: '#78cb71',
    500: '#21b331',
    950: '#000000',
  },
}
SCSS
$custom: #21b331;
$custom-light: #78cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#21b331",
  "rgb": {
    "r": 33,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 126.575,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66941,
    "c": 0.20513,
    "h": 144
  },
  "luminance": 0.32785
}

Semantic roles & 50–950 ramp

primary
#21B331
secondary
#CA66BF
accent
#3CD8EC
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #21B331

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

Preview Lab → · Contrast checker → · Palette generator →

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