#1F7161#1F7161

#1F7161 is a mid, moderate teal. Relative luminance 0.130; OKLCH L 49.6% C 0.081 H 176.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#1F7161
RGBrgb(31, 113, 97)
HSLhsl(168, 57%, 28%)
HSVhsv(168, 73%, 44%)
CMYKcmyk(72.6%, 0%, 14.2%, 55.7%)
CIE-LABlab(42.71, -28.35, 1.85)
CIE-LCHlch(42.71, 28.41, 176.26°)
OKLaboklab(49.59% -0.0811 0.0045)
OKLCHoklch(49.59% 0.081 176.8)
XYZxyz(8.6268, 12.9636, 13.3545)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7161 #711F2F
analogous
#1F7138 #1F7161 #1F5871
triadic
#1F7161 #611F71 #71611F
tetradic
#1F7161 #381F71 #711F2F #58711F
square
#1F7161 #381F71 #711F2F #58711F
split-complementary
#1F7161 #711F58 #71381F
monochromatic
#071815 #124138 #1F7161 #2CA18A #40CBAF

Accessibility & contrast

On white

5.84
#1F7161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#1F7161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7161
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7161#FFFFFF#000000##FFFFFF
##1F71611.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6A60
Deuteranopia (green-blind)
#616162
Tritanopia (blue-blind)
#00736C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7161;
/* rgb */ color: rgb(31, 113, 97);
/* oklch */ color: oklch(49.6% 0.081 176.8);
Tailwind
colors: {
  custom: {
    50: '#679a8d',
    500: '#1f7161',
    950: '#000000',
  },
}
SCSS
$custom: #1f7161;
$custom-light: #679a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7161",
  "rgb": {
    "r": 31,
    "g": 113,
    "b": 97
  },
  "hsl": {
    "h": 168.293,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.08119,
    "h": 176.8
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#1F7161
secondary
#A54759
accent
#4865E0
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #1F7161

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

Preview Lab → · Contrast checker → · Palette generator →

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