#1F7B74#1F7B74

#1F7B74 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.9% C 0.083 H 187.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1F7B74
RGBrgb(31, 123, 116)
HSLhsl(175, 60%, 30%)
HSVhsv(175, 75%, 48%)
CMYKcmyk(74.8%, 0%, 5.7%, 51.8%)
CIE-LABlab(46.60, -27.66, -3.80)
CIE-LCHlch(46.60, 27.92, 187.82°)
OKLaboklab(52.95% -0.0826 -0.0107)
OKLCHoklch(52.95% 0.083 187.4)
XYZxyz(10.7989, 15.7169, 18.9841)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B74 #7B1F26
analogous
#1F7B46 #1F7B74 #1F547B
triadic
#1F7B74 #741F7B #7B741F
tetradic
#1F7B74 #461F7B #7B1F26 #547B1F
square
#1F7B74 #461F7B #7B1F26 #547B1F
split-complementary
#1F7B74 #7B1F54 #7B461F
monochromatic
#061918 #134A46 #1F7B74 #2BACA2 #44D0C5

Accessibility & contrast

On white

5.07
#1F7B74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#1F7B74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B74
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B74#FFFFFF#000000##FFFFFF
##1F7B741.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747474
Deuteranopia (green-blind)
#676A75
Tritanopia (blue-blind)
#007E79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7b74;
/* rgb */ color: rgb(31, 123, 116);
/* oklch */ color: oklch(52.9% 0.083 187.4);
Tailwind
colors: {
  custom: {
    50: '#6ba19c',
    500: '#1f7b74',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b74;
$custom-light: #6ba19c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b74",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 116
  },
  "hsl": {
    "h": 175.435,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.08329,
    "h": 187.4
  },
  "luminance": 0.15718
}

Semantic roles & 50–950 ramp

primary
#1F7B74
secondary
#AE484F
accent
#4551E3
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7B74

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

Preview Lab → · Contrast checker → · Palette generator →

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