#1F7B71#1F7B71

#1F7B71 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.8% C 0.084 H 184.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F7B71
RGBrgb(31, 123, 113)
HSLhsl(173, 60%, 30%)
HSVhsv(173, 75%, 48%)
CMYKcmyk(74.8%, 0%, 8.1%, 51.8%)
CIE-LABlab(46.51, -28.56, -2.15)
CIE-LCHlch(46.51, 28.64, 184.31°)
OKLaboklab(52.84% -0.0841 -0.0063)
OKLCHoklch(52.84% 0.084 184.3)
XYZxyz(10.6272, 15.6482, 18.0799)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7B71 #7B1F29
analogous
#1F7B43 #1F7B71 #1F577B
triadic
#1F7B71 #711F7B #7B711F
tetradic
#1F7B71 #431F7B #7B1F29 #577B1F
square
#1F7B71 #431F7B #7B1F29 #577B1F
split-complementary
#1F7B71 #7B1F57 #7B431F
monochromatic
#061917 #134A44 #1F7B71 #2BAC9E #44D0C1

Accessibility & contrast

On white

5.08
#1F7B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#1F7B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7B71
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7B71#FFFFFF#000000##FFFFFF
##1F7B711.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757471
Deuteranopia (green-blind)
#686A72
Tritanopia (blue-blind)
#007E78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7b71;
/* rgb */ color: rgb(31, 123, 113);
/* oklch */ color: oklch(52.8% 0.084 184.3);
Tailwind
colors: {
  custom: {
    50: '#6aa199',
    500: '#1f7b71',
    950: '#000000',
  },
}
SCSS
$custom: #1f7b71;
$custom-light: #6aa199;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7b71",
  "rgb": {
    "r": 31,
    "g": 123,
    "b": 113
  },
  "hsl": {
    "h": 173.478,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.0843,
    "h": 184.3
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#1F7B71
secondary
#AE4853
accent
#4556E3
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#070F0E
muted
#7A7F7E

Preview Lab

Preview with #1F7B71

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

Preview Lab → · Contrast checker → · Palette generator →

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