#21971A#21971A

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

Color values

HEX#21971A
RGBrgb(33, 151, 26)
HSLhsl(117, 71%, 35%)
HSVhsv(117, 83%, 59%)
CMYKcmyk(78.1%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.58, -54.25, 51.54)
CIE-LCHlch(54.58, 74.83, 136.47°)
OKLaboklab(59.08% -0.1476 0.1143)
OKLCHoklch(59.08% 0.187 142.2)
XYZxyz(11.8795, 22.5297, 4.6997)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21971A #901A97
analogous
#60971A #21971A #1A9752
triadic
#21971A #1A2197 #971A21
tetradic
#21971A #1A6097 #901A97 #97521A
square
#21971A #1A6097 #901A97 #97521A
split-complementary
#21971A #521A97 #971A60
monochromatic
#0A2F08 #166311 #21971A #2CCB23 #54E04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21971A#FFFFFF#000000##000000
##21971A1.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)
#8E7F2A
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #21971a;
/* rgb */ color: rgb(33, 151, 26);
/* oklch */ color: oklch(59.1% 0.187 142.2);
Tailwind
colors: {
  custom: {
    50: '#72b762',
    500: '#21971a',
    950: '#000000',
  },
}
SCSS
$custom: #21971a;
$custom-light: #72b762;
$custom-dark: #000000;
JSON
{
  "hex": "#21971a",
  "rgb": {
    "r": 33,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 116.64,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59078,
    "c": 0.18667,
    "h": 142.2
  },
  "luminance": 0.22531
}

Semantic roles & 50–950 ramp

primary
#21971A
secondary
#BB4BC2
accent
#3AEDE3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21971A

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

Preview Lab → · Contrast checker → · Palette generator →

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