#1F7261#1F7261

#1F7261 is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.9% C 0.082 H 176.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#1F7261
RGBrgb(31, 114, 97)
HSLhsl(168, 57%, 28%)
HSVhsv(168, 73%, 45%)
CMYKcmyk(72.8%, 0%, 14.9%, 55.3%)
CIE-LABlab(43.05, -28.83, 2.34)
CIE-LCHlch(43.05, 28.93, 175.36°)
OKLaboklab(49.86% -0.0822 0.0058)
OKLCHoklch(49.86% 0.082 176)
XYZxyz(8.7390, 13.1880, 13.3919)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7261 #721F30
analogous
#1F7237 #1F7261 #1F5972
triadic
#1F7261 #611F72 #72611F
tetradic
#1F7261 #371F72 #721F30 #59721F
square
#1F7261 #371F72 #721F30 #59721F
split-complementary
#1F7261 #721F59 #72371F
monochromatic
#071814 #124238 #1F7261 #2CA28A #40CBAF

Accessibility & contrast

On white

5.77
#1F7261 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#1F7261 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7261
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7261#FFFFFF#000000##FFFFFF
##1F72611.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6B60
Deuteranopia (green-blind)
#626262
Tritanopia (blue-blind)
#00746D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7261;
/* rgb */ color: rgb(31, 114, 97);
/* oklch */ color: oklch(49.9% 0.082 176.0);
Tailwind
colors: {
  custom: {
    50: '#689b8d',
    500: '#1f7261',
    950: '#000000',
  },
}
SCSS
$custom: #1f7261;
$custom-light: #689b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7261",
  "rgb": {
    "r": 31,
    "g": 114,
    "b": 97
  },
  "hsl": {
    "h": 167.711,
    "s": 57.241,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.08239,
    "h": 176
  },
  "luminance": 0.13189
}

Semantic roles & 50–950 ramp

primary
#1F7261
secondary
#A6475A
accent
#4767E0
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #1F7261

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

Preview Lab → · Contrast checker → · Palette generator →

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