#1F8A7A#1F8A7A

#1F8A7A is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.2% C 0.096 H 180.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#1F8A7A
RGBrgb(31, 138, 122)
HSLhsl(171, 63%, 33%)
HSVhsv(171, 78%, 54%)
CMYKcmyk(77.5%, 0%, 11.6%, 45.9%)
CIE-LABlab(51.69, -33.08, 0.16)
CIE-LCHlch(51.69, 33.08, 179.73°)
OKLaboklab(57.16% -0.0956 -0.0001)
OKLCHoklch(57.16% 0.096 180.1)
XYZxyz(13.1647, 19.8718, 21.5504)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A7A #8A1F2F
analogous
#1F8A44 #1F8A7A #1F648A
triadic
#1F8A7A #7A1F8A #8A7A1F
tetradic
#1F8A7A #441F8A #8A1F2F #648A1F
square
#1F8A7A #441F8A #8A1F2F #648A1F
split-complementary
#1F8A7A #8A1F64 #8A441F
monochromatic
#092622 #14584E #1F8A7A #2ABCA6 #4CD7C2

Accessibility & contrast

On white

4.22
#1F8A7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#1F8A7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A7A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A7A#FFFFFF#000000##000000
##1F8A7A1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#848179
Deuteranopia (green-blind)
#75777B
Tritanopia (blue-blind)
#008C85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8a7a;
/* rgb */ color: rgb(31, 138, 122);
/* oklch */ color: oklch(57.2% 0.096 180.1);
Tailwind
colors: {
  custom: {
    50: '#6eada0',
    500: '#1f8a7a',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a7a;
$custom-light: #6eada0;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a7a",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 122
  },
  "hsl": {
    "h": 171.028,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57157,
    "c": 0.09562,
    "h": 180.1
  },
  "luminance": 0.19873
}

Semantic roles & 50–950 ramp

primary
#1F8A7A
secondary
#BA4B5C
accent
#415AE6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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