#217E3F#217E3F

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

Color values

HEX#217E3F
RGBrgb(33, 126, 63)
HSLhsl(139, 58%, 31%)
HSVhsv(139, 74%, 49%)
CMYKcmyk(73.8%, 0%, 50%, 50.6%)
CIE-LABlab(46.45, -41.41, 26.65)
CIE-LCHlch(46.45, 49.24, 147.24°)
OKLaboklab(52.44% -0.1114 0.0649)
OKLCHoklch(52.44% 0.129 149.8)
XYZxyz(8.9845, 15.6029, 7.2398)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E3F #7E2160
analogous
#317E21 #217E3F #217E6D
triadic
#217E3F #3F217E #7E3F21
tetradic
#217E3F #21317E #7E2160 #7E6D21
square
#217E3F #21317E #7E2160 #7E6D21
split-complementary
#217E3F #6D217E #7E2131
monochromatic
#081D0F #144E27 #217E3F #2EAE57 #4AD075

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217E3F#FFFFFF#000000##FFFFFF
##217E3F1.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)
#7F733A
Deuteranopia (green-blind)
#746B43
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217e3f;
/* rgb */ color: rgb(33, 126, 63);
/* oklch */ color: oklch(52.4% 0.129 149.8);
Tailwind
colors: {
  custom: {
    50: '#6aa475',
    500: '#217e3f',
    950: '#000000',
  },
}
SCSS
$custom: #217e3f;
$custom-light: #6aa475;
$custom-dark: #000000;
JSON
{
  "hex": "#217e3f",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 63
  },
  "hsl": {
    "h": 139.355,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.12898,
    "h": 149.8
  },
  "luminance": 0.15604
}

Semantic roles & 50–950 ramp

primary
#217E3F
secondary
#B14A90
accent
#46B0E2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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