#217B32#217B32

#217B32 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.137 H 146.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#217B32
RGBrgb(33, 123, 50)
HSLhsl(131, 58%, 31%)
HSVhsv(131, 73%, 48%)
CMYKcmyk(73.2%, 0%, 59.3%, 51.8%)
CIE-LABlab(45.25, -42.30, 32.02)
CIE-LCHlch(45.25, 53.05, 142.87°)
OKLaboklab(51.39% -0.1141 0.0761)
OKLCHoklch(51.39% 0.137 146.3)
XYZxyz(8.2853, 14.7186, 5.4213)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B32 #7B216A
analogous
#3D7B21 #217B32 #217B5F
triadic
#217B32 #32217B #7B3221
tetradic
#217B32 #213D7B #7B216A #7B5F21
square
#217B32 #213D7B #7B216A #7B5F21
split-complementary
#217B32 #5F217B #7B213D
monochromatic
#071A0B #144B1E #217B32 #2EAB46 #48CE62

Accessibility & contrast

On white

5.32
#217B32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#217B32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B32
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B32#FFFFFF#000000##FFFFFF
##217B321.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702B
Deuteranopia (green-blind)
#726838
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217b32;
/* rgb */ color: rgb(33, 123, 50);
/* oklch */ color: oklch(51.4% 0.137 146.3);
Tailwind
colors: {
  custom: {
    50: '#6aa26c',
    500: '#217b32',
    950: '#000000',
  },
}
SCSS
$custom: #217b32;
$custom-light: #6aa26c;
$custom-dark: #000000;
JSON
{
  "hex": "#217b32",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 50
  },
  "hsl": {
    "h": 131.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.1371,
    "h": 146.3
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#217B32
secondary
#AE4A9B
accent
#47C4E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217B32

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

Preview Lab → · Contrast checker → · Palette generator →

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