#1F8071#1F8071

#1F8071 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.2% C 0.089 H 179.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#1F8071
RGBrgb(31, 128, 113)
HSLhsl(171, 61%, 31%)
HSVhsv(171, 76%, 50%)
CMYKcmyk(75.8%, 0%, 11.7%, 49.8%)
CIE-LABlab(48.16, -30.96, 0.26)
CIE-LCHlch(48.16, 30.96, 179.51°)
OKLaboklab(54.19% -0.0895 0.0002)
OKLCHoklch(54.19% 0.089 179.9)
XYZxyz(11.2634, 16.9206, 18.2920)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8071 #801F2E
analogous
#1F8040 #1F8071 #1F5E80
triadic
#1F8071 #711F80 #80711F
tetradic
#1F8071 #401F80 #801F2E #5E801F
square
#1F8071 #401F80 #801F2E #5E801F
split-complementary
#1F8071 #801F5E #80401F
monochromatic
#071D1A #134F46 #1F8071 #2BB19C #47D2BD

Accessibility & contrast

On white

4.79
#1F8071 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#1F8071 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8071
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8071#FFFFFF#000000##FFFFFF
##1F80711.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7870
Deuteranopia (green-blind)
#6D6E72
Tritanopia (blue-blind)
#00827B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8071;
/* rgb */ color: rgb(31, 128, 113);
/* oklch */ color: oklch(54.2% 0.089 179.9);
Tailwind
colors: {
  custom: {
    50: '#6ba599',
    500: '#1f8071',
    950: '#000000',
  },
}
SCSS
$custom: #1f8071;
$custom-light: #6ba599;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8071",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 113
  },
  "hsl": {
    "h": 170.722,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54189,
    "c": 0.08946,
    "h": 179.9
  },
  "luminance": 0.16922
}

Semantic roles & 50–950 ramp

primary
#1F8071
secondary
#B34858
accent
#445CE4
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F8071

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

Preview Lab → · Contrast checker → · Palette generator →

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