#217862#217862

#217862 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.6% C 0.088 H 172.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#217862
RGBrgb(33, 120, 98)
HSLhsl(165, 57%, 30%)
HSVhsv(165, 73%, 47%)
CMYKcmyk(72.5%, 0%, 18.3%, 52.9%)
CIE-LABlab(45.13, -31.08, 4.76)
CIE-LCHlch(45.13, 31.44, 171.30°)
OKLaboklab(51.59% -0.0874 0.0121)
OKLCHoklch(51.59% 0.088 172.1)
XYZxyz(9.5471, 14.6370, 13.8750)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217862 #782137
analogous
#217837 #217862 #216278
triadic
#217862 #622178 #786221
tetradic
#217862 #372178 #782137 #627821
square
#217862 #372178 #782137 #627821
split-complementary
#217862 #782162 #783721
monochromatic
#071814 #14483B #217862 #2EA889 #47CCAB

Accessibility & contrast

On white

5.35
#217862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#217862 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217862
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217862#FFFFFF#000000##FFFFFF
##2178621.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747061
Deuteranopia (green-blind)
#686764
Tritanopia (blue-blind)
#007972
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217862;
/* rgb */ color: rgb(33, 120, 98);
/* oklch */ color: oklch(51.6% 0.088 172.1);
Tailwind
colors: {
  custom: {
    50: '#699f8e',
    500: '#217862',
    950: '#000000',
  },
}
SCSS
$custom: #217862;
$custom-light: #699f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#217862",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 98
  },
  "hsl": {
    "h": 164.828,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51592,
    "c": 0.08828,
    "h": 172.1
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#217862
secondary
#AB4A62
accent
#486EE0
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #217862

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

Preview Lab → · Contrast checker → · Palette generator →

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