#21B01F#21B01F

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

Color values

HEX#21B01F
RGBrgb(33, 176, 31)
HSLhsl(119, 70%, 41%)
HSVhsv(119, 82%, 69%)
CMYKcmyk(81.3%, 0%, 82.4%, 31%)
CIE-LABlab(62.90, -61.75, 57.85)
CIE-LCHlch(62.90, 84.61, 136.87°)
OKLaboklab(66.01% -0.1677 0.1282)
OKLCHoklch(66.01% 0.211 142.6)
XYZxyz(16.3988, 31.4709, 6.5063)
Luminance0.3147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B01F #AE1FB0
analogous
#6AB01F #21B01F #1FB065
triadic
#21B01F #1F21B0 #B01F21
tetradic
#21B01F #1F6AB0 #AE1FB0 #B0651F
square
#21B01F #1F6AB0 #AE1FB0 #B0651F
split-complementary
#21B01F #651FB0 #B01F6A
monochromatic
#0D480D #177C16 #21B01F #34DB31 #67E465

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21B01F#FFFFFF#000000##000000
##21B01F1.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)
#B49F00
Deuteranopia (green-blind)
#A59432
Tritanopia (blue-blind)
#00AB96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #21b01f;
/* rgb */ color: rgb(33, 176, 31);
/* oklch */ color: oklch(66.0% 0.211 142.6);
Tailwind
colors: {
  custom: {
    50: '#78c968',
    500: '#21b01f',
    950: '#000000',
  },
}
SCSS
$custom: #21b01f;
$custom-light: #78c968;
$custom-dark: #000000;
JSON
{
  "hex": "#21b01f",
  "rgb": {
    "r": 33,
    "g": 176,
    "b": 31
  },
  "hsl": {
    "h": 119.172,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66008,
    "c": 0.21106,
    "h": 142.6
  },
  "luminance": 0.31473
}

Semantic roles & 50–950 ramp

primary
#21B01F
secondary
#C862C9
accent
#3BEDEA
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #21B01F

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

Preview Lab → · Contrast checker → · Palette generator →

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