#217D3C#217D3C

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

Color values

HEX#217D3C
RGBrgb(33, 125, 60)
HSLhsl(138, 58%, 31%)
HSVhsv(138, 74%, 49%)
CMYKcmyk(73.6%, 0%, 52%, 51%)
CIE-LABlab(46.06, -41.53, 27.78)
CIE-LCHlch(46.06, 49.96, 146.22°)
OKLaboklab(52.11% -0.1118 0.0673)
OKLCHoklch(52.11% 0.131 148.9)
XYZxyz(8.7757, 15.3158, 6.7678)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D3C #7D2162
analogous
#347D21 #217D3C #217D6A
triadic
#217D3C #3C217D #7D3C21
tetradic
#217D3C #21347D #7D2162 #7D6A21
square
#217D3C #21347D #7D2162 #7D6A21
split-complementary
#217D3C #6A217D #7D2134
monochromatic
#071C0E #144D25 #217D3C #2EAD53 #49CF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217D3C#FFFFFF#000000##FFFFFF
##217D3C1.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)
#7E7237
Deuteranopia (green-blind)
#736A41
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d3c;
/* rgb */ color: rgb(33, 125, 60);
/* oklch */ color: oklch(52.1% 0.131 148.9);
Tailwind
colors: {
  custom: {
    50: '#6aa373',
    500: '#217d3c',
    950: '#000000',
  },
}
SCSS
$custom: #217d3c;
$custom-light: #6aa373;
$custom-dark: #000000;
JSON
{
  "hex": "#217d3c",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 60
  },
  "hsl": {
    "h": 137.609,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.13051,
    "h": 148.9
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#217D3C
secondary
#B04A92
accent
#46B4E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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