#1F817B#1F817B

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

Color values

HEX#1F817B
RGBrgb(31, 129, 123)
HSLhsl(176, 61%, 31%)
HSVhsv(176, 76%, 51%)
CMYKcmyk(76%, 0%, 4.7%, 49.4%)
CIE-LABlab(48.79, -28.49, -4.70)
CIE-LCHlch(48.79, 28.88, 189.37°)
OKLaboklab(54.8% -0.0856 -0.0132)
OKLCHoklch(54.8% 0.087 188.8)
XYZxyz(11.9888, 17.4204, 21.4657)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F817B #811F25
analogous
#1F814A #1F817B #1F5681
triadic
#1F817B #7B1F81 #817B1F
tetradic
#1F817B #4A1F81 #811F25 #56811F
square
#1F817B #4A1F81 #811F25 #56811F
split-complementary
#1F817B #811F56 #814A1F
monochromatic
#071E1D #13504C #1F817B #2BB2AA #47D3CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F817B#FFFFFF#000000##FFFFFF
##1F817B1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797A7B
Deuteranopia (green-blind)
#6C707C
Tritanopia (blue-blind)
#00847F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f817b;
/* rgb */ color: rgb(31, 129, 123);
/* oklch */ color: oklch(54.8% 0.087 188.8);
Tailwind
colors: {
  custom: {
    50: '#6ca6a1',
    500: '#1f817b',
    950: '#000000',
  },
}
SCSS
$custom: #1f817b;
$custom-light: #6ca6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1f817b",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 123
  },
  "hsl": {
    "h": 176.327,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54797,
    "c": 0.08664,
    "h": 188.8
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#1F817B
secondary
#B4484F
accent
#434DE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #1F817B

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

Preview Lab → · Contrast checker → · Palette generator →

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