#217031#217031

#217031 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.2% C 0.123 H 146.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#217031
RGBrgb(33, 112, 49)
HSLhsl(132, 54%, 28%)
HSVhsv(132, 71%, 44%)
CMYKcmyk(70.5%, 0%, 56.3%, 56.1%)
CIE-LABlab(41.43, -38.19, 27.97)
CIE-LCHlch(41.43, 47.34, 143.78°)
OKLaboklab(48.23% -0.103 0.0671)
OKLCHoklch(48.23% 0.123 146.9)
XYZxyz(6.9753, 12.1327, 4.8794)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217031 #702160
analogous
#387021 #217031 #217058
triadic
#217031 #312170 #703121
tetradic
#217031 #213870 #702160 #705821
square
#217031 #213870 #702160 #705821
split-complementary
#217031 #582170 #702138
monochromatic
#07180A #13411C #217031 #2F9F46 #44C85E

Accessibility & contrast

On white

6.13
#217031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#217031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217031
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217031#FFFFFF#000000##FFFFFF
##2170311.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71662B
Deuteranopia (green-blind)
#685F36
Tritanopia (blue-blind)
#046D62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #217031;
/* rgb */ color: rgb(33, 112, 49);
/* oklch */ color: oklch(48.2% 0.123 146.9);
Tailwind
colors: {
  custom: {
    50: '#689a6b',
    500: '#217031',
    950: '#000000',
  },
}
SCSS
$custom: #217031;
$custom-light: #689a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#217031",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 49
  },
  "hsl": {
    "h": 132.152,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48225,
    "c": 0.12295,
    "h": 146.9
  },
  "luminance": 0.12133
}

Semantic roles & 50–950 ramp

primary
#217031
secondary
#A44991
accent
#4AC0DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217031

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

Preview Lab → · Contrast checker → · Palette generator →

#217031 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva