#217A4F#217A4F

#217A4F is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.6% C 0.107 H 157.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#217A4F
RGBrgb(33, 122, 79)
HSLhsl(151, 57%, 30%)
HSVhsv(151, 73%, 48%)
CMYKcmyk(73%, 0%, 35.2%, 52.2%)
CIE-LABlab(45.37, -36.64, 16.24)
CIE-LCHlch(45.37, 40.08, 156.10°)
OKLaboklab(51.64% -0.0994 0.0409)
OKLCHoklch(51.64% 0.107 157.6)
XYZxyz(8.9971, 14.8059, 9.7793)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A4F #7A214C
analogous
#217A22 #217A4F #21787A
triadic
#217A4F #4F217A #7A4F21
tetradic
#217A4F #22217A #7A214C #787A21
square
#217A4F #22217A #7A214C #787A21
split-complementary
#217A4F #7A2178 #7A2221
monochromatic
#071A11 #144A30 #217A4F #2EAA6E #48CD8D

Accessibility & contrast

On white

5.30
#217A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#217A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A4F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A4F#FFFFFF#000000##FFFFFF
##217A4F1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704C
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217a4f;
/* rgb */ color: rgb(33, 122, 79);
/* oklch */ color: oklch(51.6% 0.107 157.6);
Tailwind
colors: {
  custom: {
    50: '#69a180',
    500: '#217a4f',
    950: '#000000',
  },
}
SCSS
$custom: #217a4f;
$custom-light: #69a180;
$custom-dark: #000000;
JSON
{
  "hex": "#217a4f",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 79
  },
  "hsl": {
    "h": 151.011,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.10749,
    "h": 157.6
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#217A4F
secondary
#AD4A7A
accent
#4791E1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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