#217A4E#217A4E

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

Color values

HEX#217A4E
RGBrgb(33, 122, 78)
HSLhsl(150, 57%, 30%)
HSVhsv(150, 73%, 48%)
CMYKcmyk(73%, 0%, 36.1%, 52.2%)
CIE-LABlab(45.35, -36.86, 16.79)
CIE-LCHlch(45.35, 40.50, 155.51°)
OKLaboklab(51.62% -0.0999 0.0423)
OKLCHoklch(51.62% 0.108 157.1)
XYZxyz(8.9610, 14.7914, 9.5890)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A4E #7A214D
analogous
#217A21 #217A4E #21797A
triadic
#217A4E #4E217A #7A4E21
tetradic
#217A4E #21217A #7A214D #797A21
square
#217A4E #21217A #7A214D #797A21
split-complementary
#217A4E #7A2179 #7A2121
monochromatic
#071A10 #144A2F #217A4E #2EAA6D #48CD8B

Accessibility & contrast

On white

5.31
#217A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217A4E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A4E#FFFFFF#000000##FFFFFF
##217A4E1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217a4e;
/* rgb */ color: rgb(33, 122, 78);
/* oklch */ color: oklch(51.6% 0.108 157.1);
Tailwind
colors: {
  custom: {
    50: '#69a180',
    500: '#217a4e',
    950: '#000000',
  },
}
SCSS
$custom: #217a4e;
$custom-light: #69a180;
$custom-dark: #000000;
JSON
{
  "hex": "#217a4e",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 150.337,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.10846,
    "h": 157.1
  },
  "luminance": 0.14792
}

Semantic roles & 50–950 ramp

primary
#217A4E
secondary
#AD4A7B
accent
#4793E1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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