#217A3C#217A3C

#217A3C is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.3% C 0.126 H 149.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#217A3C
RGBrgb(33, 122, 60)
HSLhsl(138, 57%, 30%)
HSVhsv(138, 73%, 48%)
CMYKcmyk(73%, 0%, 50.8%, 52.2%)
CIE-LABlab(45.04, -40.36, 26.50)
CIE-LCHlch(45.04, 48.28, 146.71°)
OKLaboklab(51.26% -0.1087 0.0645)
OKLCHoklch(51.26% 0.126 149.3)
XYZxyz(8.4017, 14.5677, 6.6432)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A3C #7A215F
analogous
#337A21 #217A3C #217A68
triadic
#217A3C #3C217A #7A3C21
tetradic
#217A3C #21337A #7A215F #7A6821
square
#217A3C #21337A #7A215F #7A6821
split-complementary
#217A3C #68217A #7A2133
monochromatic
#071A0D #144A24 #217A3C #2EAA54 #48CD70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217A3C#FFFFFF#000000##FFFFFF
##217A3C1.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)
#7B6F37
Deuteranopia (green-blind)
#706840
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217a3c;
/* rgb */ color: rgb(33, 122, 60);
/* oklch */ color: oklch(51.3% 0.126 149.3);
Tailwind
colors: {
  custom: {
    50: '#6aa173',
    500: '#217a3c',
    950: '#000000',
  },
}
SCSS
$custom: #217a3c;
$custom-light: #6aa173;
$custom-dark: #000000;
JSON
{
  "hex": "#217a3c",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 60
  },
  "hsl": {
    "h": 138.202,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51258,
    "c": 0.12634,
    "h": 149.3
  },
  "luminance": 0.14569
}

Semantic roles & 50–950 ramp

primary
#217A3C
secondary
#AD4A8F
accent
#47B2E1
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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