#1F8A6A#1F8A6A

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

Color values

HEX#1F8A6A
RGBrgb(31, 138, 106)
HSLhsl(162, 63%, 33%)
HSVhsv(162, 78%, 54%)
CMYKcmyk(77.5%, 0%, 23.2%, 45.9%)
CIE-LABlab(51.28, -37.39, 8.82)
CIE-LCHlch(51.28, 38.42, 166.72°)
OKLaboklab(56.68% -0.1036 0.0226)
OKLCHoklch(56.68% 0.106 167.7)
XYZxyz(12.2536, 19.5074, 16.7524)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A6A #8A1F3F
analogous
#1F8A34 #1F8A6A #1F748A
triadic
#1F8A6A #6A1F8A #8A6A1F
tetradic
#1F8A6A #341F8A #8A1F3F #748A1F
square
#1F8A6A #341F8A #8A1F3F #748A1F
split-complementary
#1F8A6A #8A1F74 #8A341F
monochromatic
#09261D #145844 #1F8A6A #2ABC90 #4CD7AE

Accessibility & contrast

On white

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

On black

4.90
#1F8A6A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A6A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A6A#FFFFFF#000000##000000
##1F8A6A1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#868068
Deuteranopia (green-blind)
#79766C
Tritanopia (blue-blind)
#008B81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8a6a;
/* rgb */ color: rgb(31, 138, 106);
/* oklch */ color: oklch(56.7% 0.106 167.7);
Tailwind
colors: {
  custom: {
    50: '#6dad94',
    500: '#1f8a6a',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a6a;
$custom-light: #6dad94;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a6a",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 106
  },
  "hsl": {
    "h": 162.056,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.10604,
    "h": 167.7
  },
  "luminance": 0.19509
}

Semantic roles & 50–950 ramp

primary
#1F8A6A
secondary
#BA4B6C
accent
#4173E6
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F8A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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