#21B31E#21B31E

#21B31E is a light, highly saturated green. Relative luminance 0.327; OKLCH L 66.8% C 0.215 H 142.5°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#21B31E
RGBrgb(33, 179, 30)
HSLhsl(119, 71%, 41%)
HSVhsv(119, 83%, 70%)
CMYKcmyk(81.6%, 0%, 83.2%, 29.8%)
CIE-LABlab(63.88, -62.71, 59.02)
CIE-LCHlch(63.88, 86.11, 136.74°)
OKLaboklab(66.82% -0.1703 0.1305)
OKLCHoklch(66.82% 0.215 142.5)
XYZxyz(16.9806, 32.6552, 6.6362)
Luminance0.3266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B31E #B01EB3
analogous
#6BB31E #21B31E #1EB365
triadic
#21B31E #1E21B3 #B31E21
tetradic
#21B31E #1E6BB3 #B01EB3 #B3651E
square
#21B31E #1E6BB3 #B01EB3 #B3651E
split-complementary
#21B31E #651EB3 #B31E6B
monochromatic
#0E4A0C #177F15 #21B31E #35DD32 #69E566

Accessibility & contrast

On white

2.79
#21B31E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#21B31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B31E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B31E#FFFFFF#000000##000000
##21B31E1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #21b31e;
/* rgb */ color: rgb(33, 179, 30);
/* oklch */ color: oklch(66.8% 0.215 142.5);
Tailwind
colors: {
  custom: {
    50: '#79cb68',
    500: '#21b31e',
    950: '#000000',
  },
}
SCSS
$custom: #21b31e;
$custom-light: #79cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#21b31e",
  "rgb": {
    "r": 33,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 118.792,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66821,
    "c": 0.21456,
    "h": 142.5
  },
  "luminance": 0.32657
}

Semantic roles & 50–950 ramp

primary
#21B31E
secondary
#C862CB
accent
#3AEEEA
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #21B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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