#217E31#217E31

#217E31 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.2% C 0.142 H 145.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#217E31
RGBrgb(33, 126, 49)
HSLhsl(130, 58%, 31%)
HSVhsv(130, 74%, 49%)
CMYKcmyk(73.8%, 0%, 61.1%, 50.6%)
CIE-LABlab(46.27, -43.55, 33.72)
CIE-LCHlch(46.27, 55.08, 142.26°)
OKLaboklab(52.23% -0.1175 0.0797)
OKLCHoklch(52.23% 0.142 145.9)
XYZxyz(8.6418, 15.4658, 5.4349)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E31 #7E216E
analogous
#3F7E21 #217E31 #217E5F
triadic
#217E31 #31217E #7E3121
tetradic
#217E31 #213F7E #7E216E #7E5F21
square
#217E31 #213F7E #7E216E #7E5F21
split-complementary
#217E31 #5F217E #7E213F
monochromatic
#081D0B #144E1E #217E31 #2EAE44 #4AD061

Accessibility & contrast

On white

5.13
#217E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#217E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E31
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E31#FFFFFF#000000##FFFFFF
##217E311.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807229
Deuteranopia (green-blind)
#756B37
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217e31;
/* rgb */ color: rgb(33, 126, 49);
/* oklch */ color: oklch(52.2% 0.142 145.9);
Tailwind
colors: {
  custom: {
    50: '#6ba46c',
    500: '#217e31',
    950: '#000000',
  },
}
SCSS
$custom: #217e31;
$custom-light: #6ba46c;
$custom-dark: #000000;
JSON
{
  "hex": "#217e31",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 130.323,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52228,
    "c": 0.14196,
    "h": 145.9
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

primary
#217E31
secondary
#B14A9F
accent
#46C7E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #217E31

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

Preview Lab → · Contrast checker → · Palette generator →

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