#21B01C#21B01C

#21B01C is a light, highly saturated green. Relative luminance 0.315; OKLCH L 66.0% C 0.212 H 142.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#21B01C
RGBrgb(33, 176, 28)
HSLhsl(118, 73%, 40%)
HSVhsv(118, 84%, 69%)
CMYKcmyk(81.3%, 0%, 84.1%, 31%)
CIE-LABlab(62.89, -61.91, 58.63)
CIE-LCHlch(62.89, 85.26, 136.56°)
OKLaboklab(65.99% -0.1682 0.1294)
OKLCHoklch(65.99% 0.212 142.4)
XYZxyz(16.3611, 31.4558, 6.3077)
Luminance0.3146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B01C #AB1CB0
analogous
#6BB01C #21B01C #1CB061
triadic
#21B01C #1C21B0 #B01C21
tetradic
#21B01C #1C6BB0 #AB1CB0 #B0611C
square
#21B01C #1C6BB0 #AB1CB0 #B0611C
split-complementary
#21B01C #611CB0 #B01C6B
monochromatic
#0D460B #177B14 #21B01C #32DD2C #65E661

Accessibility & contrast

On white

2.88
#21B01C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#21B01C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #21B01C
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21B01C#FFFFFF#000000##000000
##21B01C1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#A59430
Tritanopia (blue-blind)
#00AB96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #21b01c;
/* rgb */ color: rgb(33, 176, 28);
/* oklch */ color: oklch(66.0% 0.212 142.4);
Tailwind
colors: {
  custom: {
    50: '#79c967',
    500: '#21b01c',
    950: '#000000',
  },
}
SCSS
$custom: #21b01c;
$custom-light: #79c967;
$custom-dark: #000000;
JSON
{
  "hex": "#21b01c",
  "rgb": {
    "r": 33,
    "g": 176,
    "b": 28
  },
  "hsl": {
    "h": 117.973,
    "s": 72.549,
    "l": 40
  },
  "oklch": {
    "l": 0.65994,
    "c": 0.21224,
    "h": 142.4
  },
  "luminance": 0.31458
}

Semantic roles & 50–950 ramp

primary
#21B01C
secondary
#C75ECA
accent
#39EFE9
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #21B01C

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

Preview Lab → · Contrast checker → · Palette generator →

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