#21971D#21971D

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

Color values

HEX#21971D
RGBrgb(33, 151, 29)
HSLhsl(118, 68%, 35%)
HSVhsv(118, 81%, 59%)
CMYKcmyk(78.1%, 0%, 80.8%, 40.8%)
CIE-LABlab(54.60, -54.07, 50.65)
CIE-LCHlch(54.60, 74.09, 136.87°)
OKLaboklab(59.1% -0.1469 0.1129)
OKLCHoklch(59.1% 0.185 142.5)
XYZxyz(11.9148, 22.5439, 4.8856)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21971D #931D97
analogous
#5E971D #21971D #1D9756
triadic
#21971D #1D2197 #971D21
tetradic
#21971D #1D5E97 #931D97 #97561D
square
#21971D #1D5E97 #931D97 #97561D
split-complementary
#21971D #561D97 #971D5E
monochromatic
#0B3009 #166413 #21971D #2CCA27 #55DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21971D#FFFFFF#000000##000000
##21971D1.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)
#8E7F2C
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #21971d;
/* rgb */ color: rgb(33, 151, 29);
/* oklch */ color: oklch(59.1% 0.185 142.5);
Tailwind
colors: {
  custom: {
    50: '#72b764',
    500: '#21971d',
    950: '#000000',
  },
}
SCSS
$custom: #21971d;
$custom-light: #72b764;
$custom-dark: #000000;
JSON
{
  "hex": "#21971d",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 118.033,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59095,
    "c": 0.1853,
    "h": 142.5
  },
  "luminance": 0.22545
}

Semantic roles & 50–950 ramp

primary
#21971D
secondary
#BD4FC0
accent
#3DEBE5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21971D

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

Preview Lab → · Contrast checker → · Palette generator →

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