#217A31#217A31

#217A31 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.137 H 146.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#217A31
RGBrgb(33, 122, 49)
HSLhsl(131, 57%, 30%)
HSVhsv(131, 73%, 48%)
CMYKcmyk(73%, 0%, 59.8%, 52.2%)
CIE-LABlab(44.89, -42.06, 32.11)
CIE-LCHlch(44.89, 52.91, 142.64°)
OKLaboklab(51.09% -0.1135 0.0762)
OKLCHoklch(51.09% 0.137 146.1)
XYZxyz(8.1405, 14.4633, 5.2678)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A31 #7A216A
analogous
#3D7A21 #217A31 #217A5E
triadic
#217A31 #31217A #7A3121
tetradic
#217A31 #213D7A #7A216A #7A5E21
square
#217A31 #213D7A #7A216A #7A5E21
split-complementary
#217A31 #5E217A #7A213D
monochromatic
#071A0A #144A1E #217A31 #2EAA44 #48CD60

Accessibility & contrast

On white

5.39
#217A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#217A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A31
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A31#FFFFFF#000000##FFFFFF
##217A311.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2A
Deuteranopia (green-blind)
#716737
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a31;
/* rgb */ color: rgb(33, 122, 49);
/* oklch */ color: oklch(51.1% 0.137 146.1);
Tailwind
colors: {
  custom: {
    50: '#6aa16b',
    500: '#217a31',
    950: '#000000',
  },
}
SCSS
$custom: #217a31;
$custom-light: #6aa16b;
$custom-dark: #000000;
JSON
{
  "hex": "#217a31",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 49
  },
  "hsl": {
    "h": 130.787,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.13666,
    "h": 146.1
  },
  "luminance": 0.14464
}

Semantic roles & 50–950 ramp

primary
#217A31
secondary
#AD4A9B
accent
#47C5E1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217A31

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

Preview Lab → · Contrast checker → · Palette generator →

#217A31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva