#217D3D#217D3D

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

Color values

HEX#217D3D
RGBrgb(33, 125, 61)
HSLhsl(138, 58%, 31%)
HSVhsv(138, 74%, 49%)
CMYKcmyk(73.6%, 0%, 51.2%, 51%)
CIE-LABlab(46.08, -41.36, 27.26)
CIE-LCHlch(46.08, 49.54, 146.61°)
OKLaboklab(52.12% -0.1113 0.0662)
OKLCHoklch(52.12% 0.13 149.3)
XYZxyz(8.8024, 15.3265, 6.9084)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D3D #7D2161
analogous
#337D21 #217D3D #217D6B
triadic
#217D3D #3D217D #7D3D21
tetradic
#217D3D #21337D #7D2161 #7D6B21
square
#217D3D #21337D #7D2161 #7D6B21
split-complementary
#217D3D #6B217D #7D2133
monochromatic
#071C0E #144D25 #217D3D #2EAD55 #49CF72

Accessibility & contrast

On white

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

On black

4.07
#217D3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217D3D#FFFFFF#000000##FFFFFF
##217D3D1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7238
Deuteranopia (green-blind)
#736A42
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d3d;
/* rgb */ color: rgb(33, 125, 61);
/* oklch */ color: oklch(52.1% 0.130 149.3);
Tailwind
colors: {
  custom: {
    50: '#6aa374',
    500: '#217d3d',
    950: '#000000',
  },
}
SCSS
$custom: #217d3d;
$custom-light: #6aa374;
$custom-dark: #000000;
JSON
{
  "hex": "#217d3d",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 61
  },
  "hsl": {
    "h": 138.261,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.12954,
    "h": 149.3
  },
  "luminance": 0.15327
}

Semantic roles & 50–950 ramp

primary
#217D3D
secondary
#B04A91
accent
#46B2E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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