#1F7B78#1F7B78

#1F7B78 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.1% C 0.082 H 191.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#1F7B78
RGBrgb(31, 123, 120)
HSLhsl(178, 60%, 30%)
HSVhsv(178, 75%, 48%)
CMYKcmyk(74.8%, 0%, 2.4%, 51.8%)
CIE-LABlab(46.73, -26.44, -5.99)
CIE-LCHlch(46.73, 27.11, 192.75°)
OKLaboklab(53.09% -0.0807 -0.0167)
OKLCHoklch(53.09% 0.082 191.7)
XYZxyz(11.0366, 15.8120, 20.2360)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B78 #7B1F22
analogous
#1F7B4A #1F7B78 #1F507B
triadic
#1F7B78 #781F7B #7B781F
tetradic
#1F7B78 #4A1F7B #7B1F22 #507B1F
square
#1F7B78 #4A1F7B #7B1F22 #507B1F
split-complementary
#1F7B78 #7B1F50 #7B4A1F
monochromatic
#061919 #134A48 #1F7B78 #2BACA8 #44D0CB

Accessibility & contrast

On white

5.04
#1F7B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#1F7B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B78
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B78#FFFFFF#000000##FFFFFF
##1F7B781.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737478
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#007F7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7b78;
/* rgb */ color: rgb(31, 123, 120);
/* oklch */ color: oklch(53.1% 0.082 191.7);
Tailwind
colors: {
  custom: {
    50: '#6ba19e',
    500: '#1f7b78',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b78;
$custom-light: #6ba19e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b78",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 120
  },
  "hsl": {
    "h": 178.043,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.08237,
    "h": 191.7
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#1F7B78
secondary
#AE484B
accent
#454AE3
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7B78

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

Preview Lab → · Contrast checker → · Palette generator →

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