#217C4C#217C4C

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

Color values

HEX#217C4C
RGBrgb(33, 124, 76)
HSLhsl(148, 58%, 31%)
HSVhsv(148, 73%, 49%)
CMYKcmyk(73.4%, 0%, 38.7%, 51.4%)
CIE-LABlab(45.99, -38.13, 18.80)
CIE-LCHlch(45.99, 42.51, 153.76°)
OKLaboklab(52.13% -0.1031 0.0471)
OKLCHoklch(52.13% 0.113 155.5)
XYZxyz(9.1385, 15.2594, 9.2998)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C4C #7C2151
analogous
#237C21 #217C4C #217C79
triadic
#217C4C #4C217C #7C4C21
tetradic
#217C4C #21237C #7C2151 #7C7921
square
#217C4C #21237C #7C2151 #7C7921
split-complementary
#217C4C #79217C #7C2123
monochromatic
#071B11 #144C2E #217C4C #2EAC6A #49CF88

Accessibility & contrast

On white

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

On black

4.05
#217C4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217C4C#FFFFFF#000000##FFFFFF
##217C4C1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217c4c;
/* rgb */ color: rgb(33, 124, 76);
/* oklch */ color: oklch(52.1% 0.113 155.5);
Tailwind
colors: {
  custom: {
    50: '#6aa37e',
    500: '#217c4c',
    950: '#000000',
  },
}
SCSS
$custom: #217c4c;
$custom-light: #6aa37e;
$custom-dark: #000000;
JSON
{
  "hex": "#217c4c",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 76
  },
  "hsl": {
    "h": 148.352,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5213,
    "c": 0.1133,
    "h": 155.5
  },
  "luminance": 0.1526
}

Semantic roles & 50–950 ramp

primary
#217C4C
secondary
#AF4A7F
accent
#4798E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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