#1F817A#1F817A

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

Color values

HEX#1F817A
RGBrgb(31, 129, 122)
HSLhsl(176, 61%, 31%)
HSVhsv(176, 76%, 51%)
CMYKcmyk(76%, 0%, 5.4%, 49.4%)
CIE-LABlab(48.75, -28.79, -4.16)
CIE-LCHlch(48.75, 29.09, 188.22°)
OKLaboklab(54.76% -0.0861 -0.0117)
OKLCHoklch(54.76% 0.087 187.8)
XYZxyz(11.9265, 17.3955, 21.1377)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F817A #811F26
analogous
#1F8149 #1F817A #1F5781
triadic
#1F817A #7A1F81 #817A1F
tetradic
#1F817A #491F81 #811F26 #57811F
square
#1F817A #491F81 #811F26 #57811F
split-complementary
#1F817A #811F57 #81491F
monochromatic
#071E1D #13504B #1F817A #2BB2A9 #47D3C9

Accessibility & contrast

On white

4.69
#1F817A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#1F817A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F817A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F817A#FFFFFF#000000##FFFFFF
##1F817A1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7A7A
Deuteranopia (green-blind)
#6C707B
Tritanopia (blue-blind)
#00847F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f817a;
/* rgb */ color: rgb(31, 129, 122);
/* oklch */ color: oklch(54.8% 0.087 187.8);
Tailwind
colors: {
  custom: {
    50: '#6ca6a0',
    500: '#1f817a',
    950: '#000000',
  },
}
SCSS
$custom: #1f817a;
$custom-light: #6ca6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f817a",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 122
  },
  "hsl": {
    "h": 175.714,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54762,
    "c": 0.08691,
    "h": 187.8
  },
  "luminance": 0.17397
}

Semantic roles & 50–950 ramp

primary
#1F817A
secondary
#B44850
accent
#434FE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #1F817A

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

Preview Lab → · Contrast checker → · Palette generator →

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