#217C4F#217C4F

#217C4F is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.2% C 0.110 H 157.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#217C4F
RGBrgb(33, 124, 79)
HSLhsl(150, 58%, 31%)
HSVhsv(150, 73%, 49%)
CMYKcmyk(73.4%, 0%, 36.3%, 51.4%)
CIE-LABlab(46.05, -37.49, 17.16)
CIE-LCHlch(46.05, 41.23, 155.41°)
OKLaboklab(52.2% -0.1016 0.0432)
OKLCHoklch(52.2% 0.11 157)
XYZxyz(9.2452, 15.3021, 9.8620)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C4F #7C214E
analogous
#217C21 #217C4F #217B7C
triadic
#217C4F #4F217C #7C4F21
tetradic
#217C4F #21217C #7C214E #7B7C21
square
#217C4F #21217C #7C214E #7B7C21
split-complementary
#217C4F #7C217B #7C2121
monochromatic
#071B11 #144C30 #217C4F #2EAC6E #49CF8C

Accessibility & contrast

On white

5.17
#217C4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217C4F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C4F#FFFFFF#000000##FFFFFF
##217C4F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217c4f;
/* rgb */ color: rgb(33, 124, 79);
/* oklch */ color: oklch(52.2% 0.110 157.0);
Tailwind
colors: {
  custom: {
    50: '#6aa380',
    500: '#217c4f',
    950: '#000000',
  },
}
SCSS
$custom: #217c4f;
$custom-light: #6aa380;
$custom-dark: #000000;
JSON
{
  "hex": "#217c4f",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 79
  },
  "hsl": {
    "h": 150.33,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.11035,
    "h": 157
  },
  "luminance": 0.15303
}

Semantic roles & 50–950 ramp

primary
#217C4F
secondary
#AF4A7C
accent
#4793E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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