#1F7E70#1F7E70

#1F7E70 is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.6% C 0.088 H 180.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1F7E70
RGBrgb(31, 126, 112)
HSLhsl(171, 61%, 31%)
HSVhsv(171, 75%, 49%)
CMYKcmyk(75.4%, 0%, 11.1%, 50.6%)
CIE-LABlab(47.47, -30.30, -0.15)
CIE-LCHlch(47.47, 30.30, 180.29°)
OKLaboklab(53.62% -0.0878 -0.0009)
OKLCHoklch(53.62% 0.088 180.6)
XYZxyz(10.9491, 16.3816, 17.9110)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7E70 #7E1F2D
analogous
#1F7E40 #1F7E70 #1F5C7E
triadic
#1F7E70 #701F7E #7E701F
tetradic
#1F7E70 #401F7E #7E1F2D #5C7E1F
square
#1F7E70 #401F7E #7E1F2D #5C7E1F
split-complementary
#1F7E70 #7E1F5C #7E401F
monochromatic
#071C19 #134D44 #1F7E70 #2BAF9C #46D1BD

Accessibility & contrast

On white

4.91
#1F7E70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#1F7E70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7E70
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7E70#FFFFFF#000000##FFFFFF
##1F7E701.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78766F
Deuteranopia (green-blind)
#6B6D71
Tritanopia (blue-blind)
#00807A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f7e70;
/* rgb */ color: rgb(31, 126, 112);
/* oklch */ color: oklch(53.6% 0.088 180.6);
Tailwind
colors: {
  custom: {
    50: '#6ba499',
    500: '#1f7e70',
    950: '#000000',
  },
}
SCSS
$custom: #1f7e70;
$custom-light: #6ba499;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7e70",
  "rgb": {
    "r": 31,
    "g": 126,
    "b": 112
  },
  "hsl": {
    "h": 171.158,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53617,
    "c": 0.08781,
    "h": 180.6
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#1F7E70
secondary
#B14857
accent
#445CE4
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #1F7E70

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

Preview Lab → · Contrast checker → · Palette generator →

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