#217157#217157

#217157 is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.3% C 0.087 H 167.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#217157
RGBrgb(33, 113, 87)
HSLhsl(161, 55%, 29%)
HSVhsv(161, 71%, 44%)
CMYKcmyk(70.8%, 0%, 23%, 55.7%)
CIE-LABlab(42.49, -30.72, 7.55)
CIE-LCHlch(42.49, 31.64, 166.20°)
OKLaboklab(49.34% -0.0853 0.0193)
OKLCHoklch(49.34% 0.087 167.2)
XYZxyz(8.2517, 12.8208, 11.0548)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217157 #71213B
analogous
#21712F #217157 #216371
triadic
#217157 #572171 #715721
tetradic
#217157 #2F2171 #71213B #637121
square
#217157 #2F2171 #71213B #637121
split-complementary
#217157 #712163 #712F21
monochromatic
#071812 #134233 #217157 #2FA07B #44C89D

Accessibility & contrast

On white

5.89
#217157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#217157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217157
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217157#FFFFFF#000000##FFFFFF
##2171571.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6956
Deuteranopia (green-blind)
#636159
Tritanopia (blue-blind)
#00716A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217157;
/* rgb */ color: rgb(33, 113, 87);
/* oklch */ color: oklch(49.3% 0.087 167.2);
Tailwind
colors: {
  custom: {
    50: '#689a86',
    500: '#217157',
    950: '#000000',
  },
}
SCSS
$custom: #217157;
$custom-light: #689a86;
$custom-dark: #000000;
JSON
{
  "hex": "#217157",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 87
  },
  "hsl": {
    "h": 160.5,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49338,
    "c": 0.08742,
    "h": 167.2
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#217157
secondary
#A54967
accent
#4A7ADE
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #217157

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

Preview Lab → · Contrast checker → · Palette generator →

#217157 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva