#1F8A6B#1F8A6B

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

Color values

HEX#1F8A6B
RGBrgb(31, 138, 107)
HSLhsl(163, 63%, 33%)
HSVhsv(163, 78%, 54%)
CMYKcmyk(77.5%, 0%, 22.5%, 45.9%)
CIE-LABlab(51.30, -37.14, 8.28)
CIE-LCHlch(51.30, 38.05, 167.43°)
OKLaboklab(56.71% -0.1031 0.0212)
OKLCHoklch(56.71% 0.105 168.4)
XYZxyz(12.3059, 19.5283, 17.0278)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A6B #8A1F3E
analogous
#1F8A35 #1F8A6B #1F738A
triadic
#1F8A6B #6B1F8A #8A6B1F
tetradic
#1F8A6B #351F8A #8A1F3E #738A1F
square
#1F8A6B #351F8A #8A1F3E #738A1F
split-complementary
#1F8A6B #8A1F73 #8A351F
monochromatic
#09261E #145844 #1F8A6B #2ABC92 #4CD7AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8A6B#FFFFFF#000000##000000
##1F8A6B1.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)
#868069
Deuteranopia (green-blind)
#79766D
Tritanopia (blue-blind)
#008B81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8a6b;
/* rgb */ color: rgb(31, 138, 107);
/* oklch */ color: oklch(56.7% 0.105 168.4);
Tailwind
colors: {
  custom: {
    50: '#6dad95',
    500: '#1f8a6b',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a6b;
$custom-light: #6dad95;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a6b",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 107
  },
  "hsl": {
    "h": 162.617,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56706,
    "c": 0.10525,
    "h": 168.4
  },
  "luminance": 0.1953
}

Semantic roles & 50–950 ramp

primary
#1F8A6B
secondary
#BA4B6B
accent
#4171E6
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F8A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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