#1F8773#1F8773

#1F8773 is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.1% C 0.096 H 176.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#1F8773
RGBrgb(31, 135, 115)
HSLhsl(168, 63%, 33%)
HSVhsv(168, 77%, 53%)
CMYKcmyk(77%, 0%, 14.8%, 47.1%)
CIE-LABlab(50.52, -33.66, 2.52)
CIE-LCHlch(50.52, 33.75, 175.72°)
OKLaboklab(56.13% -0.0959 0.0062)
OKLCHoklch(56.13% 0.096 176.3)
XYZxyz(12.3220, 18.8556, 19.2064)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8773 #871F33
analogous
#1F873F #1F8773 #1F6787
triadic
#1F8773 #731F87 #87731F
tetradic
#1F8773 #3F1F87 #871F33 #67871F
square
#1F8773 #3F1F87 #871F33 #67871F
split-complementary
#1F8773 #871F67 #873F1F
monochromatic
#08231E #145549 #1F8773 #2AB99D #4BD6BB

Accessibility & contrast

On white

4.40
#1F8773 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#1F8773 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8773
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8773#FFFFFF#000000##000000
##1F87731.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#827E72
Deuteranopia (green-blind)
#747475
Tritanopia (blue-blind)
#008981
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8773;
/* rgb */ color: rgb(31, 135, 115);
/* oklch */ color: oklch(56.1% 0.096 176.3);
Tailwind
colors: {
  custom: {
    50: '#6daa9b',
    500: '#1f8773',
    950: '#000000',
  },
}
SCSS
$custom: #1f8773;
$custom-light: #6daa9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8773",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 115
  },
  "hsl": {
    "h": 168.462,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56134,
    "c": 0.09612,
    "h": 176.3
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#1F8773
secondary
#B84A5F
accent
#4262E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8773

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

Preview Lab → · Contrast checker → · Palette generator →

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