#1F8A7E#1F8A7E

#1F8A7E is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.3% C 0.094 H 183.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1F8A7E
RGBrgb(31, 138, 126)
HSLhsl(173, 63%, 33%)
HSVhsv(173, 78%, 54%)
CMYKcmyk(77.5%, 0%, 8.7%, 45.9%)
CIE-LABlab(51.81, -31.93, -2.00)
CIE-LCHlch(51.81, 31.99, 183.58°)
OKLaboklab(57.29% -0.0937 -0.0059)
OKLCHoklch(57.29% 0.094 183.6)
XYZxyz(13.4176, 19.9730, 22.8826)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A7E #8A1F2B
analogous
#1F8A48 #1F8A7E #1F608A
triadic
#1F8A7E #7E1F8A #8A7E1F
tetradic
#1F8A7E #481F8A #8A1F2B #608A1F
square
#1F8A7E #481F8A #8A1F2B #608A1F
split-complementary
#1F8A7E #8A1F60 #8A481F
monochromatic
#092623 #145850 #1F8A7E #2ABCAC #4CD7C7

Accessibility & contrast

On white

4.20
#1F8A7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#1F8A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A7E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A7E#FFFFFF#000000##000000
##1F8A7E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83827E
Deuteranopia (green-blind)
#74777F
Tritanopia (blue-blind)
#008D86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8a7e;
/* rgb */ color: rgb(31, 138, 126);
/* oklch */ color: oklch(57.3% 0.094 183.6);
Tailwind
colors: {
  custom: {
    50: '#6eada3',
    500: '#1f8a7e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a7e;
$custom-light: #6eada3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a7e",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 126
  },
  "hsl": {
    "h": 173.271,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.09385,
    "h": 183.6
  },
  "luminance": 0.19975
}

Semantic roles & 50–950 ramp

primary
#1F8A7E
secondary
#BA4B58
accent
#4154E6
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #1F8A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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