#1F7A71#1F7A71

#1F7A71 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.6% C 0.083 H 185.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#1F7A71
RGBrgb(31, 122, 113)
HSLhsl(174, 59%, 30%)
HSVhsv(174, 75%, 48%)
CMYKcmyk(74.6%, 0%, 7.4%, 52.2%)
CIE-LABlab(46.18, -28.07, -2.64)
CIE-LCHlch(46.18, 28.20, 185.37°)
OKLaboklab(52.57% -0.083 -0.0076)
OKLCHoklch(52.57% 0.083 185.2)
XYZxyz(10.5038, 15.4014, 18.0388)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A71 #7A1F28
analogous
#1F7A44 #1F7A71 #1F557A
triadic
#1F7A71 #711F7A #7A711F
tetradic
#1F7A71 #441F7A #7A1F28 #557A1F
square
#1F7A71 #441F7A #7A1F28 #557A1F
split-complementary
#1F7A71 #7A1F55 #7A441F
monochromatic
#061817 #134944 #1F7A71 #2BAB9E #44CFC2

Accessibility & contrast

On white

5.15
#1F7A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#1F7A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A71
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A71#FFFFFF#000000##FFFFFF
##1F7A711.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747371
Deuteranopia (green-blind)
#676972
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7a71;
/* rgb */ color: rgb(31, 122, 113);
/* oklch */ color: oklch(52.6% 0.083 185.2);
Tailwind
colors: {
  custom: {
    50: '#6aa199',
    500: '#1f7a71',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a71;
$custom-light: #6aa199;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a71",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 113
  },
  "hsl": {
    "h": 174.066,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.52574,
    "c": 0.08333,
    "h": 185.2
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

primary
#1F7A71
secondary
#AD4752
accent
#4555E3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0E
muted
#7A7E7E

Preview Lab

Preview with #1F7A71

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

Preview Lab → · Contrast checker → · Palette generator →

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