#1F8B7D#1F8B7D

#1F8B7D is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.5% C 0.095 H 181.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1F8B7D
RGBrgb(31, 139, 125)
HSLhsl(172, 64%, 33%)
HSVhsv(172, 78%, 55%)
CMYKcmyk(77.7%, 0%, 10.1%, 45.5%)
CIE-LABlab(52.10, -32.69, -0.99)
CIE-LCHlch(52.10, 32.70, 181.73°)
OKLaboklab(57.52% -0.0952 -0.0032)
OKLCHoklch(57.52% 0.095 181.9)
XYZxyz(13.4975, 20.2356, 22.5925)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B7D #8B1F2D
analogous
#1F8B47 #1F8B7D #1F638B
triadic
#1F8B7D #7D1F8B #8B7D1F
tetradic
#1F8B7D #471F8B #8B1F2D #638B1F
square
#1F8B7D #471F8B #8B1F2D #638B1F
split-complementary
#1F8B7D #8B1F63 #8B471F
monochromatic
#092723 #145950 #1F8B7D #2ABDAA #4DD7C5

Accessibility & contrast

On white

4.16
#1F8B7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#1F8B7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B7D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B7D#FFFFFF#000000##000000
##1F8B7D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84827C
Deuteranopia (green-blind)
#76787E
Tritanopia (blue-blind)
#008E87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8b7d;
/* rgb */ color: rgb(31, 139, 125);
/* oklch */ color: oklch(57.5% 0.095 181.9);
Tailwind
colors: {
  custom: {
    50: '#6eada2',
    500: '#1f8b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b7d;
$custom-light: #6eada2;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b7d",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 125
  },
  "hsl": {
    "h": 172.222,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57521,
    "c": 0.09525,
    "h": 181.9
  },
  "luminance": 0.20237
}

Semantic roles & 50–950 ramp

primary
#1F8B7D
secondary
#BA4C5A
accent
#4157E7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100F
muted
#7B7F7E

Preview Lab

Preview with #1F8B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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