#1F8A7C#1F8A7C

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

Color values

HEX#1F8A7C
RGBrgb(31, 138, 124)
HSLhsl(172, 63%, 33%)
HSVhsv(172, 78%, 54%)
CMYKcmyk(77.5%, 0%, 10.1%, 45.9%)
CIE-LABlab(51.75, -32.50, -0.92)
CIE-LCHlch(51.75, 32.52, 181.63°)
OKLaboklab(57.22% -0.0946 -0.003)
OKLCHoklch(57.22% 0.095 181.8)
XYZxyz(13.2899, 19.9219, 22.2098)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A7C #8A1F2D
analogous
#1F8A47 #1F8A7C #1F628A
triadic
#1F8A7C #7C1F8A #8A7C1F
tetradic
#1F8A7C #471F8A #8A1F2D #628A1F
square
#1F8A7C #471F8A #8A1F2D #628A1F
split-complementary
#1F8A7C #8A1F62 #8A471F
monochromatic
#092622 #14584F #1F8A7C #2ABCA9 #4CD7C5

Accessibility & contrast

On white

4.21
#1F8A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8A7C#FFFFFF#000000##000000
##1F8A7C1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83827B
Deuteranopia (green-blind)
#75777D
Tritanopia (blue-blind)
#008D86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8a7c;
/* rgb */ color: rgb(31, 138, 124);
/* oklch */ color: oklch(57.2% 0.095 181.8);
Tailwind
colors: {
  custom: {
    50: '#6eada1',
    500: '#1f8a7c',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a7c;
$custom-light: #6eada1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a7c",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 124
  },
  "hsl": {
    "h": 172.15,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.09469,
    "h": 181.8
  },
  "luminance": 0.19924
}

Semantic roles & 50–950 ramp

primary
#1F8A7C
secondary
#BA4B5A
accent
#4157E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #1F8A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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