#21B31C#21B31C

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

Color values

HEX#21B31C
RGBrgb(33, 179, 28)
HSLhsl(118, 73%, 41%)
HSVhsv(118, 84%, 70%)
CMYKcmyk(81.6%, 0%, 84.4%, 29.8%)
CIE-LABlab(63.87, -62.81, 59.52)
CIE-LCHlch(63.87, 86.53, 136.54°)
OKLaboklab(66.81% -0.1707 0.1313)
OKLCHoklch(66.81% 0.215 142.4)
XYZxyz(16.9558, 32.6453, 6.5059)
Luminance0.3265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21B31C #AE1CB3
analogous
#6CB31C #21B31C #1CB362
triadic
#21B31C #1C21B3 #B31C21
tetradic
#21B31C #1C6CB3 #AE1CB3 #B3621C
square
#21B31C #1C6CB3 #AE1CB3 #B3621C
split-complementary
#21B31C #621CB3 #B31C6C
monochromatic
#0D490B #177E14 #21B31C #34DE2E #67E763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21B31C#FFFFFF#000000##000000
##21B31C1.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: #21b31c;
/* rgb */ color: rgb(33, 179, 28);
/* oklch */ color: oklch(66.8% 0.215 142.4);
Tailwind
colors: {
  custom: {
    50: '#79cb68',
    500: '#21b31c',
    950: '#000000',
  },
}
SCSS
$custom: #21b31c;
$custom-light: #79cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#21b31c",
  "rgb": {
    "r": 33,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 118.013,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66812,
    "c": 0.21532,
    "h": 142.4
  },
  "luminance": 0.32647
}

Semantic roles & 50–950 ramp

primary
#21B31C
secondary
#C85FCB
accent
#38F0EA
background
#F8FCF6
surface
#EFF9EB
border
#CAD2C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #21B31C

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

Preview Lab → · Contrast checker → · Palette generator →

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