#217A39#217A39

#217A39 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.129 H 148.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#217A39
RGBrgb(33, 122, 57)
HSLhsl(136, 57%, 30%)
HSVhsv(136, 73%, 48%)
CMYKcmyk(73%, 0%, 53.3%, 52.2%)
CIE-LABlab(44.99, -40.85, 28.06)
CIE-LCHlch(44.99, 49.56, 145.52°)
OKLaboklab(51.21% -0.11 0.0678)
OKLCHoklch(51.21% 0.129 148.4)
XYZxyz(8.3246, 14.5369, 6.2373)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A39 #7A2162
analogous
#357A21 #217A39 #217A65
triadic
#217A39 #39217A #7A3921
tetradic
#217A39 #21357A #7A2162 #7A6521
square
#217A39 #21357A #7A2162 #7A6521
split-complementary
#217A39 #65217A #7A2135
monochromatic
#071A0C #144A22 #217A39 #2EAA50 #48CD6C

Accessibility & contrast

On white

5.37
#217A39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#217A39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A39
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A39#FFFFFF#000000##FFFFFF
##217A391.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F33
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a39;
/* rgb */ color: rgb(33, 122, 57);
/* oklch */ color: oklch(51.2% 0.129 148.4);
Tailwind
colors: {
  custom: {
    50: '#6aa171',
    500: '#217a39',
    950: '#000000',
  },
}
SCSS
$custom: #217a39;
$custom-light: #6aa171;
$custom-dark: #000000;
JSON
{
  "hex": "#217a39",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 57
  },
  "hsl": {
    "h": 136.18,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51208,
    "c": 0.12924,
    "h": 148.4
  },
  "luminance": 0.14538
}

Semantic roles & 50–950 ramp

primary
#217A39
secondary
#AD4A92
accent
#47B7E1
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217A39

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

Preview Lab → · Contrast checker → · Palette generator →

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