#21B31D#21B31D

#21B31D 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#21B31D
RGBrgb(33, 179, 29)
HSLhsl(118, 72%, 41%)
HSVhsv(118, 84%, 70%)
CMYKcmyk(81.6%, 0%, 83.8%, 29.8%)
CIE-LABlab(63.88, -62.76, 59.27)
CIE-LCHlch(63.88, 86.33, 136.64°)
OKLaboklab(66.82% -0.1705 0.1309)
OKLCHoklch(66.82% 0.215 142.5)
XYZxyz(16.9680, 32.6502, 6.5700)
Luminance0.3265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B31D #AF1DB3
analogous
#6CB31D #21B31D #1DB364
triadic
#21B31D #1D21B3 #B31D21
tetradic
#21B31D #1D6CB3 #AF1DB3 #B3641D
square
#21B31D #1D6CB3 #AF1DB3 #B3641D
split-complementary
#21B31D #641DB3 #B31D6C
monochromatic
#0E4A0C #177E14 #21B31D #34DD30 #68E664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21B31D#FFFFFF#000000##000000
##21B31D1.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)
#A89731
Tritanopia (blue-blind)
#00AD98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #21b31d;
/* rgb */ color: rgb(33, 179, 29);
/* oklch */ color: oklch(66.8% 0.215 142.5);
Tailwind
colors: {
  custom: {
    50: '#79cb68',
    500: '#21b31d',
    950: '#000000',
  },
}
SCSS
$custom: #21b31d;
$custom-light: #79cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#21b31d",
  "rgb": {
    "r": 33,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 118.4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66816,
    "c": 0.21495,
    "h": 142.5
  },
  "luminance": 0.32652
}

Semantic roles & 50–950 ramp

primary
#21B31D
secondary
#C861CB
accent
#39EFEA
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #21B31D

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

Preview Lab → · Contrast checker → · Palette generator →

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