#21B31B#21B31B

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

Color values

HEX#21B31B
RGBrgb(33, 179, 27)
HSLhsl(118, 74%, 40%)
HSVhsv(118, 85%, 70%)
CMYKcmyk(81.6%, 0%, 84.9%, 29.8%)
CIE-LABlab(63.87, -62.86, 59.76)
CIE-LCHlch(63.87, 86.74, 136.45°)
OKLaboklab(66.81% -0.1708 0.1317)
OKLCHoklch(66.81% 0.216 142.4)
XYZxyz(16.9441, 32.6406, 6.4440)
Luminance0.3264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B31B #AD1BB3
analogous
#6DB31B #21B31B #1BB361
triadic
#21B31B #1B21B3 #B31B21
tetradic
#21B31B #1B6DB3 #AD1BB3 #B3611B
square
#21B31B #1B6DB3 #AD1BB3 #B3611B
split-complementary
#21B31B #611BB3 #B31B6D
monochromatic
#0D490B #177E13 #21B31B #33DF2C #66E761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #21b31b;
/* rgb */ color: rgb(33, 179, 27);
/* oklch */ color: oklch(66.8% 0.216 142.4);
Tailwind
colors: {
  custom: {
    50: '#79cb67',
    500: '#21b31b',
    950: '#000000',
  },
}
SCSS
$custom: #21b31b;
$custom-light: #79cb67;
$custom-dark: #000000;
JSON
{
  "hex": "#21b31b",
  "rgb": {
    "r": 33,
    "g": 179,
    "b": 27
  },
  "hsl": {
    "h": 117.632,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66807,
    "c": 0.21568,
    "h": 142.4
  },
  "luminance": 0.32643
}

Semantic roles & 50–950 ramp

primary
#21B31B
secondary
#C75ECC
accent
#37F0E9
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #21B31B

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

Preview Lab → · Contrast checker → · Palette generator →

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