#1F897E#1F897E

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

Color values

HEX#1F897E
RGBrgb(31, 137, 126)
HSLhsl(174, 63%, 33%)
HSVhsv(174, 77%, 54%)
CMYKcmyk(77.4%, 0%, 8%, 46.3%)
CIE-LABlab(51.48, -31.45, -2.48)
CIE-LCHlch(51.48, 31.55, 184.50°)
OKLaboklab(57.02% -0.0926 -0.0072)
OKLCHoklch(57.02% 0.093 184.4)
XYZxyz(13.2748, 19.6874, 22.8350)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F897E #891F2A
analogous
#1F8949 #1F897E #1F5F89
triadic
#1F897E #7E1F89 #897E1F
tetradic
#1F897E #491F89 #891F2A #5F891F
square
#1F897E #491F89 #891F2A #5F891F
split-complementary
#1F897E #891F5F #89491F
monochromatic
#082522 #145750 #1F897E #2ABBAC #4CD6C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F897E#FFFFFF#000000##000000
##1F897E1.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)
#82817E
Deuteranopia (green-blind)
#73767F
Tritanopia (blue-blind)
#008C85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f897e;
/* rgb */ color: rgb(31, 137, 126);
/* oklch */ color: oklch(57.0% 0.093 184.4);
Tailwind
colors: {
  custom: {
    50: '#6eaca3',
    500: '#1f897e',
    950: '#000000',
  },
}
SCSS
$custom: #1f897e;
$custom-light: #6eaca3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f897e",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 126
  },
  "hsl": {
    "h": 173.774,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.0929,
    "h": 184.4
  },
  "luminance": 0.19689
}

Semantic roles & 50–950 ramp

primary
#1F897E
secondary
#B94B56
accent
#4253E6
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #1F897E

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

Preview Lab → · Contrast checker → · Palette generator →

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