#1F7D78#1F7D78

#1F7D78 is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.6% C 0.084 H 189.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1F7D78
RGBrgb(31, 125, 120)
HSLhsl(177, 60%, 31%)
HSVhsv(177, 75%, 49%)
CMYKcmyk(75.2%, 0%, 4%, 51%)
CIE-LABlab(47.38, -27.44, -5.01)
CIE-LCHlch(47.38, 27.89, 190.35°)
OKLaboklab(53.63% -0.0828 -0.014)
OKLCHoklch(53.63% 0.084 189.6)
XYZxyz(11.2873, 16.3133, 20.3196)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D78 #7D1F24
analogous
#1F7D49 #1F7D78 #1F537D
triadic
#1F7D78 #781F7D #7D781F
tetradic
#1F7D78 #491F7D #7D1F24 #537D1F
square
#1F7D78 #491F7D #7D1F24 #537D1F
split-complementary
#1F7D78 #7D1F53 #7D491F
monochromatic
#071B1A #134C49 #1F7D78 #2BAEA7 #45D1CA

Accessibility & contrast

On white

4.93
#1F7D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#1F7D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D78
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D78#FFFFFF#000000##FFFFFF
##1F7D781.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757678
Deuteranopia (green-blind)
#686C79
Tritanopia (blue-blind)
#00807B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f7d78;
/* rgb */ color: rgb(31, 125, 120);
/* oklch */ color: oklch(53.6% 0.084 189.6);
Tailwind
colors: {
  custom: {
    50: '#6ba39e',
    500: '#1f7d78',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d78;
$custom-light: #6ba39e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d78",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 120
  },
  "hsl": {
    "h": 176.809,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53625,
    "c": 0.08399,
    "h": 189.6
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#1F7D78
secondary
#B0484D
accent
#444DE3
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7D78

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

Preview Lab → · Contrast checker → · Palette generator →

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