#217E39#217E39

#217E39 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.135 H 147.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#217E39
RGBrgb(33, 126, 57)
HSLhsl(135, 58%, 31%)
HSVhsv(135, 74%, 49%)
CMYKcmyk(73.8%, 0%, 54.8%, 50.6%)
CIE-LABlab(46.36, -42.39, 29.74)
CIE-LCHlch(46.36, 51.79, 144.95°)
OKLaboklab(52.34% -0.1141 0.0716)
OKLCHoklch(52.34% 0.135 147.9)
XYZxyz(8.8259, 15.5395, 6.4044)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E39 #7E2166
analogous
#377E21 #217E39 #217E67
triadic
#217E39 #39217E #7E3921
tetradic
#217E39 #21377E #7E2166 #7E6721
square
#217E39 #21377E #7E2166 #7E6721
split-complementary
#217E39 #67217E #7E2137
monochromatic
#081D0D #144E23 #217E39 #2EAE4F #4AD06C

Accessibility & contrast

On white

5.11
#217E39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#217E39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E39
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E39#FFFFFF#000000##FFFFFF
##217E391.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7233
Deuteranopia (green-blind)
#746B3E
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217e39;
/* rgb */ color: rgb(33, 126, 57);
/* oklch */ color: oklch(52.3% 0.135 147.9);
Tailwind
colors: {
  custom: {
    50: '#6ba471',
    500: '#217e39',
    950: '#000000',
  },
}
SCSS
$custom: #217e39;
$custom-light: #6ba471;
$custom-dark: #000000;
JSON
{
  "hex": "#217e39",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 57
  },
  "hsl": {
    "h": 135.484,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52342,
    "c": 0.13472,
    "h": 147.9
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#217E39
secondary
#B14A96
accent
#46BAE2
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217E39

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

Preview Lab → · Contrast checker → · Palette generator →

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