#1F8178#1F8178

#1F8178 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.7% C 0.088 H 185.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1F8178
RGBrgb(31, 129, 120)
HSLhsl(174, 61%, 31%)
HSVhsv(174, 76%, 51%)
CMYKcmyk(76%, 0%, 7%, 49.4%)
CIE-LABlab(48.69, -29.39, -3.07)
CIE-LCHlch(48.69, 29.55, 185.97°)
OKLaboklab(54.69% -0.0871 -0.0088)
OKLCHoklch(54.69% 0.088 185.8)
XYZxyz(11.8039, 17.3465, 20.4918)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8178 #811F28
analogous
#1F8147 #1F8178 #1F5981
triadic
#1F8178 #781F81 #81781F
tetradic
#1F8178 #471F81 #811F28 #59811F
square
#1F8178 #471F81 #811F28 #59811F
split-complementary
#1F8178 #811F59 #81471F
monochromatic
#071E1C #13504A #1F8178 #2BB2A6 #47D3C6

Accessibility & contrast

On white

4.70
#1F8178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1F8178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8178
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8178#FFFFFF#000000##FFFFFF
##1F81781.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7978
Deuteranopia (green-blind)
#6C6F79
Tritanopia (blue-blind)
#00847E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8178;
/* rgb */ color: rgb(31, 129, 120);
/* oklch */ color: oklch(54.7% 0.088 185.8);
Tailwind
colors: {
  custom: {
    50: '#6ca69e',
    500: '#1f8178',
    950: '#000000',
  },
}
SCSS
$custom: #1f8178;
$custom-light: #6ca69e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8178",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 120
  },
  "hsl": {
    "h": 174.49,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54692,
    "c": 0.08752,
    "h": 185.8
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

primary
#1F8178
secondary
#B44852
accent
#4352E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #1F8178

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

Preview Lab → · Contrast checker → · Palette generator →

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