#217B4F#217B4F

#217B4F is a mid, moderate teal. Relative luminance 0.151; OKLCH L 51.9% C 0.109 H 157.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#217B4F
RGBrgb(33, 123, 79)
HSLhsl(151, 58%, 31%)
HSVhsv(151, 73%, 48%)
CMYKcmyk(73.2%, 0%, 35.8%, 51.8%)
CIE-LABlab(45.71, -37.07, 16.70)
CIE-LCHlch(45.71, 40.65, 155.75°)
OKLaboklab(51.92% -0.1005 0.042)
OKLCHoklch(51.92% 0.109 157.3)
XYZxyz(9.1206, 15.0527, 9.8204)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B4F #7B214D
analogous
#217B22 #217B4F #217A7B
triadic
#217B4F #4F217B #7B4F21
tetradic
#217B4F #22217B #7B214D #7A7B21
square
#217B4F #22217B #7B214D #7A7B21
split-complementary
#217B4F #7B217A #7B2221
monochromatic
#071A11 #144B30 #217B4F #2EAB6E #48CE8D

Accessibility & contrast

On white

5.24
#217B4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#217B4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B4F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B4F#FFFFFF#000000##FFFFFF
##217B4F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714C
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217b4f;
/* rgb */ color: rgb(33, 123, 79);
/* oklch */ color: oklch(51.9% 0.109 157.3);
Tailwind
colors: {
  custom: {
    50: '#6aa280',
    500: '#217b4f',
    950: '#000000',
  },
}
SCSS
$custom: #217b4f;
$custom-light: #6aa280;
$custom-dark: #000000;
JSON
{
  "hex": "#217b4f",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 79
  },
  "hsl": {
    "h": 150.667,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.10892,
    "h": 157.3
  },
  "luminance": 0.15054
}

Semantic roles & 50–950 ramp

primary
#217B4F
secondary
#AE4A7B
accent
#4792E1
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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