#1F7A7A#1F7A7A

#1F7A7A is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.9% C 0.081 H 195.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1F7A7A
RGBrgb(31, 122, 122)
HSLhsl(180, 59%, 30%)
HSVhsv(180, 75%, 48%)
CMYKcmyk(74.6%, 0%, 0%, 52.2%)
CIE-LABlab(46.46, -25.32, -7.56)
CIE-LCHlch(46.46, 26.42, 196.64°)
OKLaboklab(52.9% -0.0786 -0.021)
OKLCHoklch(52.9% 0.081 195)
XYZxyz(11.0359, 15.6142, 20.8408)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A7A #7A1F1F
analogous
#1F7A4D #1F7A7A #1F4C7A
triadic
#1F7A7A #7A1F7A #7A7A1F
tetradic
#1F7A7A #4C1F7A #7A1F1F #4D7A1F
square
#1F7A7A #4C1F7A #7A1F1F #4D7A1F
split-complementary
#1F7A7A #7A1F4D #7A4D1F
monochromatic
#061818 #134949 #1F7A7A #2BABAB #44CFCF

Accessibility & contrast

On white

5.09
#1F7A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1F7A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A7A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A7A#FFFFFF#000000##FFFFFF
##1F7A7A1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72747A
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7a7a;
/* rgb */ color: rgb(31, 122, 122);
/* oklch */ color: oklch(52.9% 0.081 195.0);
Tailwind
colors: {
  custom: {
    50: '#6ba1a0',
    500: '#1f7a7a',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a7a;
$custom-light: #6ba1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a7a",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 122
  },
  "hsl": {
    "h": 180,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.529,
    "c": 0.08139,
    "h": 195
  },
  "luminance": 0.15616
}

Semantic roles & 50–950 ramp

primary
#1F7A7A
secondary
#AD4747
accent
#4545E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0E
muted
#7A7E7E

Preview Lab

Preview with #1F7A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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