#1F8766#1F8766

#1F8766 is a mid, moderate teal. Relative luminance 0.186; OKLCH L 55.8% C 0.105 H 166.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1F8766
RGBrgb(31, 135, 102)
HSLhsl(161, 63%, 33%)
HSVhsv(161, 77%, 53%)
CMYKcmyk(77%, 0%, 24.4%, 47.1%)
CIE-LABlab(50.19, -37.10, 9.60)
CIE-LCHlch(50.19, 38.32, 165.49°)
OKLaboklab(55.76% -0.1025 0.0245)
OKLCHoklch(55.76% 0.105 166.5)
XYZxyz(11.6260, 18.5772, 15.5408)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8766 #871F40
analogous
#1F8732 #1F8766 #1F7487
triadic
#1F8766 #661F87 #87661F
tetradic
#1F8766 #321F87 #871F40 #74871F
square
#1F8766 #321F87 #871F40 #74871F
split-complementary
#1F8766 #871F74 #87321F
monochromatic
#08231B #145540 #1F8766 #2AB98C #4BD6AA

Accessibility & contrast

On white

4.45
#1F8766 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#1F8766 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8766
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8766#FFFFFF#000000##000000
##1F87661.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847D64
Deuteranopia (green-blind)
#777468
Tritanopia (blue-blind)
#00877E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8766;
/* rgb */ color: rgb(31, 135, 102);
/* oklch */ color: oklch(55.8% 0.105 166.5);
Tailwind
colors: {
  custom: {
    50: '#6cab91',
    500: '#1f8766',
    950: '#000000',
  },
}
SCSS
$custom: #1f8766;
$custom-light: #6cab91;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8766",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 102
  },
  "hsl": {
    "h": 160.962,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55755,
    "c": 0.10537,
    "h": 166.5
  },
  "luminance": 0.18579
}

Semantic roles & 50–950 ramp

primary
#1F8766
secondary
#B84A6D
accent
#4276E6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#08100C
muted
#7B7F7D

Preview Lab

Preview with #1F8766

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

Preview Lab → · Contrast checker → · Palette generator →

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