#1F7A74#1F7A74

#1F7A74 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.7% C 0.082 H 188.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#1F7A74
RGBrgb(31, 122, 116)
HSLhsl(176, 59%, 30%)
HSVhsv(176, 75%, 48%)
CMYKcmyk(74.6%, 0%, 4.9%, 52.2%)
CIE-LABlab(46.27, -27.17, -4.29)
CIE-LCHlch(46.27, 27.51, 188.96°)
OKLaboklab(52.68% -0.0815 -0.012)
OKLCHoklch(52.68% 0.082 188.4)
XYZxyz(10.6755, 15.4701, 18.9430)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A74 #7A1F25
analogous
#1F7A47 #1F7A74 #1F527A
triadic
#1F7A74 #741F7A #7A741F
tetradic
#1F7A74 #471F7A #7A1F25 #527A1F
square
#1F7A74 #471F7A #7A1F25 #527A1F
split-complementary
#1F7A74 #7A1F52 #7A471F
monochromatic
#061817 #134946 #1F7A74 #2BABA2 #44CFC6

Accessibility & contrast

On white

5.13
#1F7A74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#1F7A74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A74
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A74#FFFFFF#000000##FFFFFF
##1F7A741.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737374
Deuteranopia (green-blind)
#666A75
Tritanopia (blue-blind)
#007D78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7a74;
/* rgb */ color: rgb(31, 122, 116);
/* oklch */ color: oklch(52.7% 0.082 188.4);
Tailwind
colors: {
  custom: {
    50: '#6aa19c',
    500: '#1f7a74',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a74;
$custom-light: #6aa19c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a74",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 116
  },
  "hsl": {
    "h": 176.044,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.0824,
    "h": 188.4
  },
  "luminance": 0.15471
}

Semantic roles & 50–950 ramp

primary
#1F7A74
secondary
#AD474E
accent
#4550E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0E
muted
#7A7E7E

Preview Lab

Preview with #1F7A74

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

Preview Lab → · Contrast checker → · Palette generator →

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