#217E3D#217E3D

#217E3D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.131 H 149.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#217E3D
RGBrgb(33, 126, 61)
HSLhsl(138, 58%, 31%)
HSVhsv(138, 74%, 49%)
CMYKcmyk(73.8%, 0%, 51.6%, 50.6%)
CIE-LABlab(46.42, -41.75, 27.69)
CIE-LCHlch(46.42, 50.10, 146.45°)
OKLaboklab(52.41% -0.1124 0.0672)
OKLCHoklch(52.41% 0.131 149.1)
XYZxyz(8.9297, 15.5810, 6.9508)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E3D #7E2162
analogous
#337E21 #217E3D #217E6B
triadic
#217E3D #3D217E #7E3D21
tetradic
#217E3D #21337E #7E2162 #7E6B21
square
#217E3D #21337E #7E2162 #7E6B21
split-complementary
#217E3D #6B217E #7E2133
monochromatic
#081D0E #144E26 #217E3D #2EAE54 #4AD072

Accessibility & contrast

On white

5.10
#217E3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#217E3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E3D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E3D#FFFFFF#000000##FFFFFF
##217E3D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7338
Deuteranopia (green-blind)
#746B42
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217e3d;
/* rgb */ color: rgb(33, 126, 61);
/* oklch */ color: oklch(52.4% 0.131 149.1);
Tailwind
colors: {
  custom: {
    50: '#6ba474',
    500: '#217e3d',
    950: '#000000',
  },
}
SCSS
$custom: #217e3d;
$custom-light: #6ba474;
$custom-dark: #000000;
JSON
{
  "hex": "#217e3d",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 61
  },
  "hsl": {
    "h": 138.065,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52406,
    "c": 0.13093,
    "h": 149.1
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#217E3D
secondary
#B14A92
accent
#46B3E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217E3D

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

Preview Lab → · Contrast checker → · Palette generator →

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