#1F8D6A#1F8D6A

#1F8D6A is a mid, moderate teal. Relative luminance 0.204; OKLCH L 57.5% C 0.110 H 166.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#1F8D6A
RGBrgb(31, 141, 106)
HSLhsl(161, 64%, 34%)
HSVhsv(161, 78%, 55%)
CMYKcmyk(78%, 0%, 24.8%, 44.7%)
CIE-LABlab(52.26, -38.69, 10.22)
CIE-LCHlch(52.26, 40.02, 165.21°)
OKLaboklab(57.49% -0.1067 0.0261)
OKLCHoklch(57.49% 0.11 166.3)
XYZxyz(12.6900, 20.3801, 16.8978)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D6A #8D1F42
analogous
#1F8D33 #1F8D6A #1F798D
triadic
#1F8D6A #6A1F8D #8D6A1F
tetradic
#1F8D6A #331F8D #8D1F42 #798D1F
square
#1F8D6A #331F8D #8D1F42 #798D1F
split-complementary
#1F8D6A #8D1F79 #8D331F
monochromatic
#09291F #145B44 #1F8D6A #2ABF90 #4ED8AC

Accessibility & contrast

On white

4.14
#1F8D6A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#1F8D6A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D6A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D6A#FFFFFF#000000##000000
##1F8D6A1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8368
Deuteranopia (green-blind)
#7C796C
Tritanopia (blue-blind)
#008D83
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #1f8d6a;
/* rgb */ color: rgb(31, 141, 106);
/* oklch */ color: oklch(57.5% 0.110 166.3);
Tailwind
colors: {
  custom: {
    50: '#6daf94',
    500: '#1f8d6a',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d6a;
$custom-light: #6daf94;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d6a",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 106
  },
  "hsl": {
    "h": 160.909,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5749,
    "c": 0.1099,
    "h": 166.3
  },
  "luminance": 0.20382
}

Semantic roles & 50–950 ramp

primary
#1F8D6A
secondary
#BB4D70
accent
#4176E7
background
#F7FAF9
surface
#EDF5F1
border
#C8CFCB
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F8D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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