#1F8973#1F8973

#1F8973 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.7% C 0.098 H 175.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1F8973
RGBrgb(31, 137, 115)
HSLhsl(168, 63%, 33%)
HSVhsv(168, 77%, 54%)
CMYKcmyk(77.4%, 0%, 16.1%, 46.3%)
CIE-LABlab(51.17, -34.57, 3.47)
CIE-LCHlch(51.17, 34.75, 174.27°)
OKLaboklab(56.67% -0.098 0.0087)
OKLCHoklch(56.67% 0.098 175)
XYZxyz(12.6037, 19.4189, 19.3003)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8973 #891F35
analogous
#1F893E #1F8973 #1F6A89
triadic
#1F8973 #731F89 #89731F
tetradic
#1F8973 #3E1F89 #891F35 #6A891F
square
#1F8973 #3E1F89 #891F35 #6A891F
split-complementary
#1F8973 #891F6A #893E1F
monochromatic
#08251F #145749 #1F8973 #2ABB9D #4CD6BA

Accessibility & contrast

On white

4.30
#1F8973 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1F8973 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8973
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8973#FFFFFF#000000##000000
##1F89731.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848072
Deuteranopia (green-blind)
#767675
Tritanopia (blue-blind)
#008B83
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8973;
/* rgb */ color: rgb(31, 137, 115);
/* oklch */ color: oklch(56.7% 0.098 175.0);
Tailwind
colors: {
  custom: {
    50: '#6dac9b',
    500: '#1f8973',
    950: '#000000',
  },
}
SCSS
$custom: #1f8973;
$custom-light: #6dac9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8973",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 115
  },
  "hsl": {
    "h": 167.547,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5667,
    "c": 0.09841,
    "h": 175
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#1F8973
secondary
#B94B62
accent
#4264E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8973

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

Preview Lab → · Contrast checker → · Palette generator →

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