#1F8975#1F8975

#1F8975 is a mid, moderate teal. Relative luminance 0.195; OKLCH L 56.7% C 0.097 H 176.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1F8975
RGBrgb(31, 137, 117)
HSLhsl(169, 63%, 33%)
HSVhsv(169, 77%, 54%)
CMYKcmyk(77.4%, 0%, 14.6%, 46.3%)
CIE-LABlab(51.23, -34.02, 2.38)
CIE-LCHlch(51.23, 34.10, 175.99°)
OKLaboklab(56.73% -0.097 0.0058)
OKLCHoklch(56.73% 0.097 176.6)
XYZxyz(12.7200, 19.4654, 19.9130)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8975 #891F33
analogous
#1F8940 #1F8975 #1F6889
triadic
#1F8975 #751F89 #89751F
tetradic
#1F8975 #401F89 #891F33 #68891F
square
#1F8975 #401F89 #891F33 #68891F
split-complementary
#1F8975 #891F68 #89401F
monochromatic
#082520 #14574A #1F8975 #2ABBA0 #4CD6BC

Accessibility & contrast

On white

4.29
#1F8975 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#1F8975 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8975
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8975#FFFFFF#000000##000000
##1F89751.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#848074
Deuteranopia (green-blind)
#767677
Tritanopia (blue-blind)
#008B83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8975;
/* rgb */ color: rgb(31, 137, 117);
/* oklch */ color: oklch(56.7% 0.097 176.6);
Tailwind
colors: {
  custom: {
    50: '#6dac9c',
    500: '#1f8975',
    950: '#000000',
  },
}
SCSS
$custom: #1f8975;
$custom-light: #6dac9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8975",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 117
  },
  "hsl": {
    "h": 168.679,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.09721,
    "h": 176.6
  },
  "luminance": 0.19467
}

Semantic roles & 50–950 ramp

primary
#1F8975
secondary
#B94B5F
accent
#4261E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8975

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

Preview Lab → · Contrast checker → · Palette generator →

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