#1F8C73#1F8C73

#1F8C73 is a mid, moderate teal. Relative luminance 0.203; OKLCH L 57.5% C 0.102 H 173.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#1F8C73
RGBrgb(31, 140, 115)
HSLhsl(166, 64%, 34%)
HSVhsv(166, 78%, 55%)
CMYKcmyk(77.9%, 0%, 17.9%, 45.1%)
CIE-LABlab(52.16, -35.92, 4.88)
CIE-LCHlch(52.16, 36.26, 172.26°)
OKLaboklab(57.48% -0.1012 0.0124)
OKLCHoklch(57.48% 0.102 173)
XYZxyz(13.0360, 20.2837, 19.4444)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8C73 #8C1F38
analogous
#1F8C3C #1F8C73 #1F6E8C
triadic
#1F8C73 #731F8C #8C731F
tetradic
#1F8C73 #3C1F8C #8C1F38 #6E8C1F
square
#1F8C73 #3C1F8C #8C1F38 #6E8C1F
split-complementary
#1F8C73 #8C1F6E #8C3C1F
monochromatic
#092821 #145A4A #1F8C73 #2ABE9C #4ED8B8

Accessibility & contrast

On white

4.15
#1F8C73 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#1F8C73 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8C73
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8C73#FFFFFF#000000##000000
##1F8C731.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#878272
Deuteranopia (green-blind)
#797875
Tritanopia (blue-blind)
#008D85
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8c73;
/* rgb */ color: rgb(31, 140, 115);
/* oklch */ color: oklch(57.5% 0.102 173.0);
Tailwind
colors: {
  custom: {
    50: '#6eae9b',
    500: '#1f8c73',
    950: '#000000',
  },
}
SCSS
$custom: #1f8c73;
$custom-light: #6eae9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8c73",
  "rgb": {
    "r": 31,
    "g": 140,
    "b": 115
  },
  "hsl": {
    "h": 166.239,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57475,
    "c": 0.10193,
    "h": 173
  },
  "luminance": 0.20285
}

Semantic roles & 50–950 ramp

primary
#1F8C73
secondary
#BB4C66
accent
#4167E7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8C73

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

Preview Lab → · Contrast checker → · Palette generator →

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