#21971E#21971E

#21971E is a mid, vivid green. Relative luminance 0.226; 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#21971E
RGBrgb(33, 151, 30)
HSLhsl(119, 67%, 35%)
HSVhsv(119, 80%, 59%)
CMYKcmyk(78.1%, 0%, 80.1%, 40.8%)
CIE-LABlab(54.60, -54.00, 50.34)
CIE-LCHlch(54.60, 73.83, 137.01°)
OKLaboklab(59.1% -0.1467 0.1124)
OKLCHoklch(59.1% 0.185 142.5)
XYZxyz(11.9274, 22.5489, 4.9518)
Luminance0.2255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21971E #941E97
analogous
#5E971E #21971E #1E9757
triadic
#21971E #1E2197 #971E21
tetradic
#21971E #1E5E97 #941E97 #97571E
square
#21971E #1E5E97 #941E97 #97571E
split-complementary
#21971E #571E97 #971E5E
monochromatic
#0B310A #166414 #21971E #2CCA28 #56DD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21971E#FFFFFF#000000##000000
##21971E1.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)
#9A8800
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #21971e;
/* rgb */ color: rgb(33, 151, 30);
/* oklch */ color: oklch(59.1% 0.185 142.5);
Tailwind
colors: {
  custom: {
    50: '#72b764',
    500: '#21971e',
    950: '#000000',
  },
}
SCSS
$custom: #21971e;
$custom-light: #72b764;
$custom-dark: #000000;
JSON
{
  "hex": "#21971e",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 118.512,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59101,
    "c": 0.18481,
    "h": 142.5
  },
  "luminance": 0.2255
}

Semantic roles & 50–950 ramp

primary
#21971E
secondary
#BD51C0
accent
#3EEAE5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21971E

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

Preview Lab → · Contrast checker → · Palette generator →

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