#1F8772#1F8772

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

Color values

HEX#1F8772
RGBrgb(31, 135, 114)
HSLhsl(168, 63%, 33%)
HSVhsv(168, 77%, 53%)
CMYKcmyk(77%, 0%, 15.6%, 47.1%)
CIE-LABlab(50.49, -33.93, 3.06)
CIE-LCHlch(50.49, 34.07, 174.84°)
OKLaboklab(56.1% -0.0964 0.0076)
OKLCHoklch(56.1% 0.097 175.5)
XYZxyz(12.2648, 18.8327, 18.9050)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8772 #871F34
analogous
#1F873E #1F8772 #1F6887
triadic
#1F8772 #721F87 #87721F
tetradic
#1F8772 #3E1F87 #871F34 #68871F
square
#1F8772 #3E1F87 #871F34 #68871F
split-complementary
#1F8772 #871F68 #873E1F
monochromatic
#08231E #145548 #1F8772 #2AB99C #4BD6BA

Accessibility & contrast

On white

4.41
#1F8772 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8772#FFFFFF#000000##000000
##1F87721.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8772;
/* rgb */ color: rgb(31, 135, 114);
/* oklch */ color: oklch(56.1% 0.097 175.5);
Tailwind
colors: {
  custom: {
    50: '#6daa9a',
    500: '#1f8772',
    950: '#000000',
  },
}
SCSS
$custom: #1f8772;
$custom-light: #6daa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8772",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 114
  },
  "hsl": {
    "h": 167.885,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.09672,
    "h": 175.5
  },
  "luminance": 0.18834
}

Semantic roles & 50–950 ramp

primary
#1F8772
secondary
#B84A60
accent
#4263E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8772

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

Preview Lab → · Contrast checker → · Palette generator →

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