#1F8A71#1F8A71

#1F8A71 is a mid, moderate teal. Relative luminance 0.197; OKLCH L 56.9% C 0.101 H 172.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1F8A71
RGBrgb(31, 138, 113)
HSLhsl(166, 63%, 33%)
HSVhsv(166, 78%, 54%)
CMYKcmyk(77.5%, 0%, 18.1%, 45.9%)
CIE-LABlab(51.45, -35.57, 5.03)
CIE-LCHlch(51.45, 35.92, 171.96°)
OKLaboklab(56.88% -0.1001 0.0127)
OKLCHoklch(56.88% 0.101 172.8)
XYZxyz(12.6326, 19.6590, 18.7484)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A71 #8A1F38
analogous
#1F8A3B #1F8A71 #1F6D8A
triadic
#1F8A71 #711F8A #8A711F
tetradic
#1F8A71 #3B1F8A #8A1F38 #6D8A1F
square
#1F8A71 #3B1F8A #8A1F38 #6D8A1F
split-complementary
#1F8A71 #8A1F6D #8A3B1F
monochromatic
#09261F #145848 #1F8A71 #2ABC9A #4CD7B7

Accessibility & contrast

On white

4.26
#1F8A71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#1F8A71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A71
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A71#FFFFFF#000000##000000
##1F8A711.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#858170
Deuteranopia (green-blind)
#777673
Tritanopia (blue-blind)
#008B83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8a71;
/* rgb */ color: rgb(31, 138, 113);
/* oklch */ color: oklch(56.9% 0.101 172.8);
Tailwind
colors: {
  custom: {
    50: '#6dad99',
    500: '#1f8a71',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a71;
$custom-light: #6dad99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a71",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 113
  },
  "hsl": {
    "h": 165.981,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56878,
    "c": 0.1009,
    "h": 172.8
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#1F8A71
secondary
#BA4B65
accent
#4168E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8A71

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

Preview Lab → · Contrast checker → · Palette generator →

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