#1F8B98#1F8B98

#1F8B98 is a mid, moderate teal. Relative luminance 0.210; OKLCH L 58.5% C 0.093 H 207.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#1F8B98
RGBrgb(31, 139, 152)
HSLhsl(186, 66%, 36%)
HSVhsv(186, 80%, 60%)
CMYKcmyk(79.6%, 8.6%, 0%, 40.4%)
CIE-LABlab(52.97, -24.35, -15.35)
CIE-LCHlch(52.97, 28.78, 212.22°)
OKLaboklab(58.52% -0.0826 -0.0427)
OKLCHoklch(58.52% 0.093 207.3)
XYZxyz(15.4627, 21.0216, 32.9423)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B98 #982C1F
analogous
#1F9868 #1F8B98 #1F4E98
triadic
#1F8B98 #981F8B #8B981F
tetradic
#1F8B98 #681F98 #982C1F #4E981F
square
#1F8B98 #681F98 #982C1F #4E981F
split-complementary
#1F8B98 #981F4E #98681F
monochromatic
#0A2E32 #155D65 #1F8B98 #29B9CB #55CEDC

Accessibility & contrast

On white

4.03
#1F8B98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#1F8B98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B98
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B98#FFFFFF#000000##000000
##1F8B981.004.035.205.20
#FFFFFF4.031.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8599
Deuteranopia (green-blind)
#6E7998
Tritanopia (blue-blind)
#00928F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #1f8b98;
/* rgb */ color: rgb(31, 139, 152);
/* oklch */ color: oklch(58.5% 0.093 207.3);
Tailwind
colors: {
  custom: {
    50: '#71adb6',
    500: '#1f8b98',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b98;
$custom-light: #71adb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b98",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 152
  },
  "hsl": {
    "h": 186.446,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58517,
    "c": 0.09303,
    "h": 207.3
  },
  "luminance": 0.21024
}

Semantic roles & 50–950 ramp

primary
#1F8B98
secondary
#C05F53
accent
#513FE9
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #1F8B98

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

Preview Lab → · Contrast checker → · Palette generator →

#1F8B98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva