#1F8A7D#1F8A7D

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

Color values

HEX#1F8A7D
RGBrgb(31, 138, 125)
HSLhsl(173, 63%, 33%)
HSVhsv(173, 78%, 54%)
CMYKcmyk(77.5%, 0%, 9.4%, 45.9%)
CIE-LABlab(51.78, -32.22, -1.46)
CIE-LCHlch(51.78, 32.25, 182.60°)
OKLaboklab(57.26% -0.0941 -0.0045)
OKLCHoklch(57.26% 0.094 182.7)
XYZxyz(13.3534, 19.9473, 22.5445)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A7D #8A1F2C
analogous
#1F8A47 #1F8A7D #1F618A
triadic
#1F8A7D #7D1F8A #8A7D1F
tetradic
#1F8A7D #471F8A #8A1F2C #618A1F
square
#1F8A7D #471F8A #8A1F2C #618A1F
split-complementary
#1F8A7D #8A1F61 #8A471F
monochromatic
#092622 #145850 #1F8A7D #2ABCAA #4CD7C6

Accessibility & contrast

On white

4.21
#1F8A7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#1F8A7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A7D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A7D#FFFFFF#000000##000000
##1F8A7D1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8a7d;
/* rgb */ color: rgb(31, 138, 125);
/* oklch */ color: oklch(57.3% 0.094 182.7);
Tailwind
colors: {
  custom: {
    50: '#6eada2',
    500: '#1f8a7d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a7d;
$custom-light: #6eada2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a7d",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 125
  },
  "hsl": {
    "h": 172.71,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57255,
    "c": 0.09426,
    "h": 182.7
  },
  "luminance": 0.19949
}

Semantic roles & 50–950 ramp

primary
#1F8A7D
secondary
#BA4B59
accent
#4155E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #1F8A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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