#1F8B8A#1F8B8A

#1F8B8A is a mid, moderate teal. Relative luminance 0.206; OKLCH L 58.0% C 0.092 H 194.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1F8B8A
RGBrgb(31, 139, 138)
HSLhsl(179, 64%, 33%)
HSVhsv(179, 78%, 55%)
CMYKcmyk(77.7%, 0%, 0.7%, 45.5%)
CIE-LABlab(52.50, -28.80, -7.95)
CIE-LCHlch(52.50, 29.88, 195.42°)
OKLaboklab(57.97% -0.089 -0.0221)
OKLCHoklch(57.97% 0.092 194)
XYZxyz(14.3830, 20.5898, 27.2560)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B8A #8B1F20
analogous
#1F8B54 #1F8B8A #1F568B
triadic
#1F8B8A #8A1F8B #8B8A1F
tetradic
#1F8B8A #541F8B #8B1F20 #568B1F
square
#1F8B8A #541F8B #8B1F20 #568B1F
split-complementary
#1F8B8A #8B1F56 #8B541F
monochromatic
#092727 #145958 #1F8B8A #2ABDBC #4DD7D6

Accessibility & contrast

On white

4.10
#1F8B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#1F8B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B8A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B8A#FFFFFF#000000##000000
##1F8B8A1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82848A
Deuteranopia (green-blind)
#72798B
Tritanopia (blue-blind)
#008F8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8b8a;
/* rgb */ color: rgb(31, 139, 138);
/* oklch */ color: oklch(58.0% 0.092 194.0);
Tailwind
colors: {
  custom: {
    50: '#6fadac',
    500: '#1f8b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b8a;
$custom-light: #6fadac;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b8a",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 138
  },
  "hsl": {
    "h": 179.444,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57973,
    "c": 0.09169,
    "h": 194
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

primary
#1F8B8A
secondary
#BA4C4D
accent
#4143E7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #1F8B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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