#217D32#217D32

#217D32 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.140 H 146.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#217D32
RGBrgb(33, 125, 50)
HSLhsl(131, 58%, 31%)
HSVhsv(131, 74%, 49%)
CMYKcmyk(73.6%, 0%, 60%, 51%)
CIE-LABlab(45.93, -43.05, 32.83)
CIE-LCHlch(45.93, 54.14, 142.67°)
OKLaboklab(51.96% -0.1161 0.0778)
OKLCHoklch(51.96% 0.14 146.2)
XYZxyz(8.5359, 15.2199, 5.5049)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D32 #7D216C
analogous
#3E7D21 #217D32 #217D60
triadic
#217D32 #32217D #7D3221
tetradic
#217D32 #213E7D #7D216C #7D6021
square
#217D32 #213E7D #7D216C #7D6021
split-complementary
#217D32 #60217D #7D213E
monochromatic
#071C0B #144D1F #217D32 #2EAD45 #49CF62

Accessibility & contrast

On white

5.19
#217D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#217D32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D32
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D32#FFFFFF#000000##FFFFFF
##217D321.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712A
Deuteranopia (green-blind)
#746A38
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d32;
/* rgb */ color: rgb(33, 125, 50);
/* oklch */ color: oklch(52.0% 0.140 146.2);
Tailwind
colors: {
  custom: {
    50: '#6ba46c',
    500: '#217d32',
    950: '#000000',
  },
}
SCSS
$custom: #217d32;
$custom-light: #6ba46c;
$custom-dark: #000000;
JSON
{
  "hex": "#217d32",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 131.087,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51957,
    "c": 0.13976,
    "h": 146.2
  },
  "luminance": 0.15221
}

Semantic roles & 50–950 ramp

primary
#217D32
secondary
#B04A9D
accent
#46C5E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217D32

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

Preview Lab → · Contrast checker → · Palette generator →

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