#21971C#21971C

#21971C is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.1% C 0.186 H 142.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#21971C
RGBrgb(33, 151, 28)
HSLhsl(118, 69%, 35%)
HSVhsv(118, 81%, 59%)
CMYKcmyk(78.1%, 0%, 81.5%, 40.8%)
CIE-LABlab(54.59, -54.13, 50.96)
CIE-LCHlch(54.59, 74.34, 136.73°)
OKLaboklab(59.09% -0.1472 0.1134)
OKLCHoklch(59.09% 0.186 142.4)
XYZxyz(11.9027, 22.5390, 4.8215)
Luminance0.2254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21971C #921C97
analogous
#5E971C #21971C #1C9754
triadic
#21971C #1C2197 #971C21
tetradic
#21971C #1C5E97 #921C97 #97541C
square
#21971C #1C5E97 #921C97 #97541C
split-complementary
#21971C #541C97 #971C5E
monochromatic
#0A3009 #166312 #21971C #2CCB26 #55DE4F

Accessibility & contrast

On white

3.81
#21971C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#21971C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21971C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21971C#FFFFFF#000000##000000
##21971C1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #21971c;
/* rgb */ color: rgb(33, 151, 28);
/* oklch */ color: oklch(59.1% 0.186 142.4);
Tailwind
colors: {
  custom: {
    50: '#72b763',
    500: '#21971c',
    950: '#000000',
  },
}
SCSS
$custom: #21971c;
$custom-light: #72b763;
$custom-dark: #000000;
JSON
{
  "hex": "#21971c",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 117.561,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59089,
    "c": 0.18577,
    "h": 142.4
  },
  "luminance": 0.2254
}

Semantic roles & 50–950 ramp

primary
#21971C
secondary
#BC4EC1
accent
#3CECE4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21971C

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

Preview Lab → · Contrast checker → · Palette generator →

#21971C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva