#1F8A6C#1F8A6C

#1F8A6C is a mid, moderate teal. Relative luminance 0.196; OKLCH L 56.7% C 0.104 H 169.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1F8A6C
RGBrgb(31, 138, 108)
HSLhsl(163, 63%, 33%)
HSVhsv(163, 78%, 54%)
CMYKcmyk(77.5%, 0%, 21.7%, 45.9%)
CIE-LABlab(51.32, -36.88, 7.74)
CIE-LCHlch(51.32, 37.68, 168.15°)
OKLaboklab(56.73% -0.1026 0.0198)
OKLCHoklch(56.73% 0.104 169.1)
XYZxyz(12.3589, 19.5495, 17.3065)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A6C #8A1F3D
analogous
#1F8A37 #1F8A6C #1F728A
triadic
#1F8A6C #6C1F8A #8A6C1F
tetradic
#1F8A6C #371F8A #8A1F3D #728A1F
square
#1F8A6C #371F8A #8A1F3D #728A1F
split-complementary
#1F8A6C #8A1F72 #8A371F
monochromatic
#09261E #145845 #1F8A6C #2ABC93 #4CD7B0

Accessibility & contrast

On white

4.28
#1F8A6C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#1F8A6C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A6C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A6C#FFFFFF#000000##000000
##1F8A6C1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86806A
Deuteranopia (green-blind)
#79766E
Tritanopia (blue-blind)
#008B81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8a6c;
/* rgb */ color: rgb(31, 138, 108);
/* oklch */ color: oklch(56.7% 0.104 169.1);
Tailwind
colors: {
  custom: {
    50: '#6dad96',
    500: '#1f8a6c',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a6c;
$custom-light: #6dad96;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a6c",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 108
  },
  "hsl": {
    "h": 163.178,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56734,
    "c": 0.10449,
    "h": 169.1
  },
  "luminance": 0.19551
}

Semantic roles & 50–950 ramp

primary
#1F8A6C
secondary
#BA4B6A
accent
#4170E6
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F8A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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