#1F817E#1F817E

#1F817E is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.9% C 0.086 H 191.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1F817E
RGBrgb(31, 129, 126)
HSLhsl(178, 61%, 31%)
HSVhsv(178, 76%, 51%)
CMYKcmyk(76%, 0%, 2.3%, 49.4%)
CIE-LABlab(48.88, -27.58, -6.33)
CIE-LCHlch(48.88, 28.29, 192.92°)
OKLaboklab(54.91% -0.0842 -0.0176)
OKLCHoklch(54.91% 0.086 191.8)
XYZxyz(12.1795, 17.4967, 22.4699)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F817E #811F22
analogous
#1F814D #1F817E #1F5381
triadic
#1F817E #7E1F81 #817E1F
tetradic
#1F817E #4D1F81 #811F22 #53811F
square
#1F817E #4D1F81 #811F22 #53811F
split-complementary
#1F817E #811F53 #814D1F
monochromatic
#071E1E #13504E #1F817E #2BB2AE #47D3CF

Accessibility & contrast

On white

4.67
#1F817E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#1F817E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F817E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F817E#FFFFFF#000000##FFFFFF
##1F817E1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797A7E
Deuteranopia (green-blind)
#6B707F
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f817e;
/* rgb */ color: rgb(31, 129, 126);
/* oklch */ color: oklch(54.9% 0.086 191.8);
Tailwind
colors: {
  custom: {
    50: '#6da6a3',
    500: '#1f817e',
    950: '#000000',
  },
}
SCSS
$custom: #1f817e;
$custom-light: #6da6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f817e",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 126
  },
  "hsl": {
    "h": 178.163,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54905,
    "c": 0.08602,
    "h": 191.8
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#1F817E
secondary
#B4484B
accent
#4348E4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #1F817E

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

Preview Lab → · Contrast checker → · Palette generator →

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