#1F8775#1F8775

#1F8775 is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.2% C 0.095 H 178.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F8775
RGBrgb(31, 135, 117)
HSLhsl(170, 63%, 33%)
HSVhsv(170, 77%, 53%)
CMYKcmyk(77%, 0%, 13.3%, 47.1%)
CIE-LABlab(50.57, -33.10, 1.43)
CIE-LCHlch(50.57, 33.13, 177.52°)
OKLaboklab(56.2% -0.0949 0.0033)
OKLCHoklch(56.2% 0.095 178)
XYZxyz(12.4383, 18.9021, 19.8191)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8775 #871F31
analogous
#1F8741 #1F8775 #1F6587
triadic
#1F8775 #751F87 #87751F
tetradic
#1F8775 #411F87 #871F31 #65871F
square
#1F8775 #411F87 #871F31 #65871F
split-complementary
#1F8775 #871F65 #87411F
monochromatic
#08231F #14554A #1F8775 #2AB9A0 #4BD6BE

Accessibility & contrast

On white

4.39
#1F8775 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#1F8775 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8775
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8775#FFFFFF#000000##000000
##1F87751.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#817E74
Deuteranopia (green-blind)
#737476
Tritanopia (blue-blind)
#008982
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8775;
/* rgb */ color: rgb(31, 135, 117);
/* oklch */ color: oklch(56.2% 0.095 178.0);
Tailwind
colors: {
  custom: {
    50: '#6daa9c',
    500: '#1f8775',
    950: '#000000',
  },
}
SCSS
$custom: #1f8775;
$custom-light: #6daa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8775",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 117
  },
  "hsl": {
    "h": 169.615,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.09499,
    "h": 178
  },
  "luminance": 0.18904
}

Semantic roles & 50–950 ramp

primary
#1F8775
secondary
#B84A5D
accent
#425EE6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8775

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

Preview Lab → · Contrast checker → · Palette generator →

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