#1F8A76#1F8A76

#1F8A76 is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.0% C 0.098 H 176.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#1F8A76
RGBrgb(31, 138, 118)
HSLhsl(169, 63%, 33%)
HSVhsv(169, 78%, 54%)
CMYKcmyk(77.5%, 0%, 14.5%, 45.9%)
CIE-LABlab(51.58, -34.20, 2.32)
CIE-LCHlch(51.58, 34.28, 176.12°)
OKLaboklab(57.03% -0.0976 0.0056)
OKLCHoklch(57.03% 0.098 176.7)
XYZxyz(12.9219, 19.7747, 20.2719)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A76 #8A1F33
analogous
#1F8A40 #1F8A76 #1F688A
triadic
#1F8A76 #761F8A #8A761F
tetradic
#1F8A76 #401F8A #8A1F33 #688A1F
square
#1F8A76 #401F8A #8A1F33 #688A1F
split-complementary
#1F8A76 #8A1F68 #8A401F
monochromatic
#092621 #14584B #1F8A76 #2ABCA1 #4CD7BD

Accessibility & contrast

On white

4.24
#1F8A76 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#1F8A76 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A76
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A76#FFFFFF#000000##000000
##1F8A761.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#848175
Deuteranopia (green-blind)
#767778
Tritanopia (blue-blind)
#008C84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8a76;
/* rgb */ color: rgb(31, 138, 118);
/* oklch */ color: oklch(57.0% 0.098 176.7);
Tailwind
colors: {
  custom: {
    50: '#6dad9d',
    500: '#1f8a76',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a76;
$custom-light: #6dad9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a76",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 118
  },
  "hsl": {
    "h": 168.785,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.09775,
    "h": 176.7
  },
  "luminance": 0.19776
}

Semantic roles & 50–950 ramp

primary
#1F8A76
secondary
#BA4B60
accent
#4160E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8A76

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

Preview Lab → · Contrast checker → · Palette generator →

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