#1F8A7B#1F8A7B

#1F8A7B is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.2% C 0.095 H 181.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1F8A7B
RGBrgb(31, 138, 123)
HSLhsl(172, 63%, 33%)
HSVhsv(172, 78%, 54%)
CMYKcmyk(77.5%, 0%, 10.9%, 45.9%)
CIE-LABlab(51.72, -32.79, -0.38)
CIE-LCHlch(51.72, 32.79, 180.67°)
OKLaboklab(57.19% -0.0951 -0.0016)
OKLCHoklch(57.19% 0.095 181)
XYZxyz(13.2269, 19.8967, 21.8784)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A7B #8A1F2E
analogous
#1F8A45 #1F8A7B #1F638A
triadic
#1F8A7B #7B1F8A #8A7B1F
tetradic
#1F8A7B #451F8A #8A1F2E #638A1F
square
#1F8A7B #451F8A #8A1F2E #638A1F
split-complementary
#1F8A7B #8A1F63 #8A451F
monochromatic
#092622 #14584E #1F8A7B #2ABCA8 #4CD7C3

Accessibility & contrast

On white

4.22
#1F8A7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#1F8A7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A7B
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A7B#FFFFFF#000000##000000
##1F8A7B1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84817A
Deuteranopia (green-blind)
#75777C
Tritanopia (blue-blind)
#008D85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8a7b;
/* rgb */ color: rgb(31, 138, 123);
/* oklch */ color: oklch(57.2% 0.095 181.0);
Tailwind
colors: {
  custom: {
    50: '#6eada1',
    500: '#1f8a7b',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a7b;
$custom-light: #6eada1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a7b",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 123
  },
  "hsl": {
    "h": 171.589,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5719,
    "c": 0.09514,
    "h": 181
  },
  "luminance": 0.19898
}

Semantic roles & 50–950 ramp

primary
#1F8A7B
secondary
#BA4B5B
accent
#4159E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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