#217158#217158

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

Color values

HEX#217158
RGBrgb(33, 113, 88)
HSLhsl(161, 55%, 29%)
HSVhsv(161, 71%, 44%)
CMYKcmyk(70.8%, 0%, 22.1%, 55.7%)
CIE-LABlab(42.52, -30.46, 6.98)
CIE-LCHlch(42.52, 31.25, 167.09°)
OKLaboklab(49.37% -0.0848 0.0179)
OKLCHoklch(49.37% 0.087 168.1)
XYZxyz(8.2929, 12.8372, 11.2714)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217158 #71213A
analogous
#217130 #217158 #216271
triadic
#217158 #582171 #715821
tetradic
#217158 #302171 #71213A #627121
square
#217158 #302171 #71213A #627121
split-complementary
#217158 #712162 #713021
monochromatic
#071812 #134233 #217158 #2FA07D #44C89F

Accessibility & contrast

On white

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

On black

3.57
#217158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217158#FFFFFF#000000##FFFFFF
##2171581.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6957
Deuteranopia (green-blind)
#63615A
Tritanopia (blue-blind)
#00726A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217158;
/* rgb */ color: rgb(33, 113, 88);
/* oklch */ color: oklch(49.4% 0.087 168.1);
Tailwind
colors: {
  custom: {
    50: '#689a87',
    500: '#217158',
    950: '#000000',
  },
}
SCSS
$custom: #217158;
$custom-light: #689a87;
$custom-dark: #000000;
JSON
{
  "hex": "#217158",
  "rgb": {
    "r": 33,
    "g": 113,
    "b": 88
  },
  "hsl": {
    "h": 161.25,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.08661,
    "h": 168.1
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#217158
secondary
#A54966
accent
#4A78DE
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #217158

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

Preview Lab → · Contrast checker → · Palette generator →

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