#1F817C#1F817C

#1F817C is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.8% C 0.086 H 189.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1F817C
RGBrgb(31, 129, 124)
HSLhsl(177, 61%, 31%)
HSVhsv(177, 76%, 51%)
CMYKcmyk(76%, 0%, 3.9%, 49.4%)
CIE-LABlab(48.82, -28.19, -5.24)
CIE-LCHlch(48.82, 28.67, 190.54°)
OKLaboklab(54.83% -0.0851 -0.0147)
OKLCHoklch(54.83% 0.086 189.8)
XYZxyz(12.0517, 17.4456, 21.7970)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F817C #811F24
analogous
#1F814B #1F817C #1F5581
triadic
#1F817C #7C1F81 #817C1F
tetradic
#1F817C #4B1F81 #811F24 #55811F
square
#1F817C #4B1F81 #811F24 #55811F
split-complementary
#1F817C #811F55 #814B1F
monochromatic
#071E1D #13504D #1F817C #2BB2AB #47D3CC

Accessibility & contrast

On white

4.68
#1F817C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1F817C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F817C
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F817C#FFFFFF#000000##FFFFFF
##1F817C1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797A7C
Deuteranopia (green-blind)
#6B707D
Tritanopia (blue-blind)
#00857F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f817c;
/* rgb */ color: rgb(31, 129, 124);
/* oklch */ color: oklch(54.8% 0.086 189.8);
Tailwind
colors: {
  custom: {
    50: '#6ca6a1',
    500: '#1f817c',
    950: '#000000',
  },
}
SCSS
$custom: #1f817c;
$custom-light: #6ca6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f817c",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 176.939,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54833,
    "c": 0.08641,
    "h": 189.8
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#1F817C
secondary
#B4484D
accent
#434CE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #1F817C

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

Preview Lab → · Contrast checker → · Palette generator →

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