#1F897F#1F897F

#1F897F is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.1% C 0.093 H 185.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#1F897F
RGBrgb(31, 137, 127)
HSLhsl(174, 63%, 33%)
HSVhsv(174, 77%, 54%)
CMYKcmyk(77.4%, 0%, 7.3%, 46.3%)
CIE-LABlab(51.51, -31.16, -3.02)
CIE-LCHlch(51.51, 31.30, 185.53°)
OKLaboklab(57.06% -0.0921 -0.0087)
OKLCHoklch(57.06% 0.093 185.4)
XYZxyz(13.3397, 19.7133, 23.1766)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F897F #891F29
analogous
#1F894A #1F897F #1F5E89
triadic
#1F897F #7F1F89 #897F1F
tetradic
#1F897F #4A1F89 #891F29 #5E891F
square
#1F897F #4A1F89 #891F29 #5E891F
split-complementary
#1F897F #891F5E #894A1F
monochromatic
#082522 #145751 #1F897F #2ABBAD #4CD6C9

Accessibility & contrast

On white

4.25
#1F897F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#1F897F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F897F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F897F#FFFFFF#000000##000000
##1F897F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#82817F
Deuteranopia (green-blind)
#737680
Tritanopia (blue-blind)
#008C86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f897f;
/* rgb */ color: rgb(31, 137, 127);
/* oklch */ color: oklch(57.1% 0.093 185.4);
Tailwind
colors: {
  custom: {
    50: '#6eaca4',
    500: '#1f897f',
    950: '#000000',
  },
}
SCSS
$custom: #1f897f;
$custom-light: #6eaca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f897f",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 127
  },
  "hsl": {
    "h": 174.34,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57058,
    "c": 0.09254,
    "h": 185.4
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

primary
#1F897F
secondary
#B94B55
accent
#4251E6
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #1F897F

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

Preview Lab → · Contrast checker → · Palette generator →

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