#217D3A#217D3A

#217D3A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.132 H 148.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#217D3A
RGBrgb(33, 125, 58)
HSLhsl(136, 58%, 31%)
HSVhsv(136, 74%, 49%)
CMYKcmyk(73.6%, 0%, 53.6%, 51%)
CIE-LABlab(46.04, -41.85, 28.81)
CIE-LCHlch(46.04, 50.81, 145.45°)
OKLaboklab(52.07% -0.1127 0.0695)
OKLCHoklch(52.07% 0.132 148.3)
XYZxyz(8.7239, 15.2951, 6.4946)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D3A #7D2164
analogous
#367D21 #217D3A #217D68
triadic
#217D3A #3A217D #7D3A21
tetradic
#217D3A #21367D #7D2164 #7D6821
square
#217D3A #21367D #7D2164 #7D6821
split-complementary
#217D3A #68217D #7D2136
monochromatic
#071C0D #144D24 #217D3A #2EAD50 #49CF6E

Accessibility & contrast

On white

5.17
#217D3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#217D3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D3A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D3A#FFFFFF#000000##FFFFFF
##217D3A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7234
Deuteranopia (green-blind)
#736A3F
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d3a;
/* rgb */ color: rgb(33, 125, 58);
/* oklch */ color: oklch(52.1% 0.132 148.3);
Tailwind
colors: {
  custom: {
    50: '#6aa472',
    500: '#217d3a',
    950: '#000000',
  },
}
SCSS
$custom: #217d3a;
$custom-light: #6aa472;
$custom-dark: #000000;
JSON
{
  "hex": "#217d3a",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 58
  },
  "hsl": {
    "h": 136.304,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52074,
    "c": 0.13241,
    "h": 148.3
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#217D3A
secondary
#B04A94
accent
#46B7E1
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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