#1F9782#1F9782

#1F9782 is a mid, moderate teal. Relative luminance 0.240; OKLCH L 60.9% C 0.105 H 177.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#1F9782
RGBrgb(31, 151, 130)
HSLhsl(170, 66%, 36%)
HSVhsv(170, 79%, 59%)
CMYKcmyk(79.5%, 0%, 13.9%, 40.8%)
CIE-LABlab(56.12, -36.77, 2.00)
CIE-LCHlch(56.12, 36.82, 176.89°)
OKLaboklab(60.85% -0.1051 0.0047)
OKLCHoklch(60.85% 0.105 177.4)
XYZxyz(15.6589, 24.0343, 24.9286)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9782 #971F34
analogous
#1F9746 #1F9782 #1F7097
triadic
#1F9782 #821F97 #97821F
tetradic
#1F9782 #461F97 #971F34 #70971F
square
#1F9782 #461F97 #971F34 #70971F
split-complementary
#1F9782 #971F70 #97461F
monochromatic
#0A312B #156456 #1F9782 #29CAAE #54DCC4

Accessibility & contrast

On white

3.62
#1F9782 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#1F9782 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9782
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9782#FFFFFF#000000##000000
##1F97821.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918D81
Deuteranopia (green-blind)
#818284
Tritanopia (blue-blind)
#009991
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9782;
/* rgb */ color: rgb(31, 151, 130);
/* oklch */ color: oklch(60.9% 0.105 177.4);
Tailwind
colors: {
  custom: {
    50: '#71b6a6',
    500: '#1f9782',
    950: '#000000',
  },
}
SCSS
$custom: #1f9782;
$custom-light: #71b6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9782",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 130
  },
  "hsl": {
    "h": 169.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60851,
    "c": 0.10526,
    "h": 177.4
  },
  "luminance": 0.24036
}

Semantic roles & 50–950 ramp

primary
#1F9782
secondary
#BF5265
accent
#3F5DE9
background
#F7FBFA
surface
#EDF6F4
border
#C8D0CE
text
#09110F
muted
#7B807F

Preview Lab

Preview with #1F9782

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

Preview Lab → · Contrast checker → · Palette generator →

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