#1F8A6F#1F8A6F

#1F8A6F is a mid, moderate teal. Relative luminance 0.196; OKLCH L 56.8% C 0.102 H 171.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F8A6F
RGBrgb(31, 138, 111)
HSLhsl(165, 63%, 33%)
HSVhsv(165, 78%, 54%)
CMYKcmyk(77.5%, 0%, 19.6%, 45.9%)
CIE-LABlab(51.40, -36.10, 6.11)
CIE-LCHlch(51.40, 36.61, 170.39°)
OKLaboklab(56.82% -0.1011 0.0156)
OKLCHoklch(56.82% 0.102 171.2)
XYZxyz(12.5213, 19.6144, 18.1619)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A6F #8A1F3A
analogous
#1F8A39 #1F8A6F #1F6F8A
triadic
#1F8A6F #6F1F8A #8A6F1F
tetradic
#1F8A6F #391F8A #8A1F3A #6F8A1F
square
#1F8A6F #391F8A #8A1F3A #6F8A1F
split-complementary
#1F8A6F #8A1F6F #8A391F
monochromatic
#09261F #145847 #1F8A6F #2ABC97 #4CD7B4

Accessibility & contrast

On white

4.27
#1F8A6F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#1F8A6F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A6F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A6F#FFFFFF#000000##000000
##1F8A6F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86806E
Deuteranopia (green-blind)
#787671
Tritanopia (blue-blind)
#008B82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8a6f;
/* rgb */ color: rgb(31, 138, 111);
/* oklch */ color: oklch(56.8% 0.102 171.2);
Tailwind
colors: {
  custom: {
    50: '#6dad98',
    500: '#1f8a6f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a6f;
$custom-light: #6dad98;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a6f",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 111
  },
  "hsl": {
    "h": 164.86,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5682,
    "c": 0.10228,
    "h": 171.2
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

primary
#1F8A6F
secondary
#BA4B67
accent
#416BE6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F8A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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