#217C4E#217C4E

#217C4E is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.2% C 0.111 H 156.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#217C4E
RGBrgb(33, 124, 78)
HSLhsl(150, 58%, 31%)
HSVhsv(150, 73%, 49%)
CMYKcmyk(73.4%, 0%, 37.1%, 51.4%)
CIE-LABlab(46.03, -37.70, 17.70)
CIE-LCHlch(46.03, 41.65, 154.85°)
OKLaboklab(52.17% -0.1021 0.0445)
OKLCHoklch(52.17% 0.111 156.5)
XYZxyz(9.2091, 15.2877, 9.6717)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C4E #7C214F
analogous
#217C21 #217C4E #217C7B
triadic
#217C4E #4E217C #7C4E21
tetradic
#217C4E #21217C #7C214F #7C7B21
square
#217C4E #21217C #7C214F #7C7B21
split-complementary
#217C4E #7B217C #7C2121
monochromatic
#071B11 #144C30 #217C4E #2EAC6C #49CF8B

Accessibility & contrast

On white

5.18
#217C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#217C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C4E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C4E#FFFFFF#000000##FFFFFF
##217C4E1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724B
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217c4e;
/* rgb */ color: rgb(33, 124, 78);
/* oklch */ color: oklch(52.2% 0.111 156.5);
Tailwind
colors: {
  custom: {
    50: '#6aa380',
    500: '#217c4e',
    950: '#000000',
  },
}
SCSS
$custom: #217c4e;
$custom-light: #6aa380;
$custom-dark: #000000;
JSON
{
  "hex": "#217c4e",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 149.67,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.11133,
    "h": 156.5
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

primary
#217C4E
secondary
#AF4A7D
accent
#4795E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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