#1F8B71#1F8B71

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

Color values

HEX#1F8B71
RGBrgb(31, 139, 113)
HSLhsl(166, 64%, 33%)
HSVhsv(166, 78%, 55%)
CMYKcmyk(77.7%, 0%, 18.7%, 45.5%)
CIE-LABlab(51.78, -36.01, 5.50)
CIE-LCHlch(51.78, 36.43, 171.32°)
OKLaboklab(57.15% -0.1011 0.014)
OKLCHoklch(57.15% 0.102 172.1)
XYZxyz(12.7768, 19.9473, 18.7964)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B71 #8B1F39
analogous
#1F8B3B #1F8B71 #1F6F8B
triadic
#1F8B71 #711F8B #8B711F
tetradic
#1F8B71 #3B1F8B #8B1F39 #6F8B1F
square
#1F8B71 #3B1F8B #8B1F39 #6F8B1F
split-complementary
#1F8B71 #8B1F6F #8B3B1F
monochromatic
#092720 #145948 #1F8B71 #2ABD9A #4DD7B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8B71#FFFFFF#000000##000000
##1F8B711.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)
#868170
Deuteranopia (green-blind)
#797773
Tritanopia (blue-blind)
#008C83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8b71;
/* rgb */ color: rgb(31, 139, 113);
/* oklch */ color: oklch(57.1% 0.102 172.1);
Tailwind
colors: {
  custom: {
    50: '#6dad99',
    500: '#1f8b71',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b71;
$custom-light: #6dad99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b71",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 113
  },
  "hsl": {
    "h": 165.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57147,
    "c": 0.1021,
    "h": 172.1
  },
  "luminance": 0.19949
}

Semantic roles & 50–950 ramp

primary
#1F8B71
secondary
#BA4C66
accent
#4169E7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8B71

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

Preview Lab → · Contrast checker → · Palette generator →

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