#1F8B7E#1F8B7E

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

Color values

HEX#1F8B7E
RGBrgb(31, 139, 126)
HSLhsl(173, 64%, 33%)
HSVhsv(173, 78%, 55%)
CMYKcmyk(77.7%, 0%, 9.4%, 45.5%)
CIE-LABlab(52.13, -32.40, -1.52)
CIE-LCHlch(52.13, 32.43, 182.69°)
OKLaboklab(57.55% -0.0947 -0.0046)
OKLCHoklch(57.55% 0.095 182.8)
XYZxyz(13.5617, 20.2612, 22.9307)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B7E #8B1F2C
analogous
#1F8B48 #1F8B7E #1F628B
triadic
#1F8B7E #7E1F8B #8B7E1F
tetradic
#1F8B7E #481F8B #8B1F2C #628B1F
square
#1F8B7E #481F8B #8B1F2C #628B1F
split-complementary
#1F8B7E #8B1F62 #8B481F
monochromatic
#092723 #145951 #1F8B7E #2ABDAB #4DD7C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8B7E#FFFFFF#000000##000000
##1F8B7E1.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)
#84837E
Deuteranopia (green-blind)
#76787F
Tritanopia (blue-blind)
#008E87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8b7e;
/* rgb */ color: rgb(31, 139, 126);
/* oklch */ color: oklch(57.6% 0.095 182.8);
Tailwind
colors: {
  custom: {
    50: '#6eada3',
    500: '#1f8b7e',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b7e;
$custom-light: #6eada3;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b7e",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 126
  },
  "hsl": {
    "h": 172.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.09482,
    "h": 182.8
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

primary
#1F8B7E
secondary
#BA4C59
accent
#4155E7
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #1F8B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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