#1F7A6E#1F7A6E

#1F7A6E is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.5% C 0.085 H 182.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1F7A6E
RGBrgb(31, 122, 110)
HSLhsl(172, 59%, 30%)
HSVhsv(172, 75%, 48%)
CMYKcmyk(74.6%, 0%, 9.8%, 52.2%)
CIE-LABlab(46.09, -28.96, -0.99)
CIE-LCHlch(46.09, 28.97, 181.96°)
OKLaboklab(52.47% -0.0845 -0.0031)
OKLCHoklch(52.47% 0.085 182.1)
XYZxyz(10.3377, 15.3349, 17.1639)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7A6E #7A1F2B
analogous
#1F7A41 #1F7A6E #1F587A
triadic
#1F7A6E #6E1F7A #7A6E1F
tetradic
#1F7A6E #411F7A #7A1F2B #587A1F
square
#1F7A6E #411F7A #7A1F2B #587A1F
split-complementary
#1F7A6E #7A1F58 #7A411F
monochromatic
#061816 #134942 #1F7A6E #2BAB9A #44CFBD

Accessibility & contrast

On white

5.16
#1F7A6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1F7A6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7A6E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7A6E#FFFFFF#000000##FFFFFF
##1F7A6E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74736E
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7a6e;
/* rgb */ color: rgb(31, 122, 110);
/* oklch */ color: oklch(52.5% 0.085 182.1);
Tailwind
colors: {
  custom: {
    50: '#6aa197',
    500: '#1f7a6e',
    950: '#000000',
  },
}
SCSS
$custom: #1f7a6e;
$custom-light: #6aa197;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7a6e",
  "rgb": {
    "r": 31,
    "g": 122,
    "b": 110
  },
  "hsl": {
    "h": 172.088,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.08453,
    "h": 182.1
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#1F7A6E
secondary
#AD4755
accent
#455AE3
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1F7A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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