#1F9783#1F9783

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

Color values

HEX#1F9783
RGBrgb(31, 151, 131)
HSLhsl(170, 66%, 36%)
HSVhsv(170, 79%, 59%)
CMYKcmyk(79.5%, 0%, 13.2%, 40.8%)
CIE-LABlab(56.15, -36.49, 1.47)
CIE-LCHlch(56.15, 36.52, 177.70°)
OKLaboklab(60.88% -0.1047 0.0033)
OKLCHoklch(60.88% 0.105 178.2)
XYZxyz(15.7263, 24.0613, 25.2838)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9783 #971F33
analogous
#1F9747 #1F9783 #1F6F97
triadic
#1F9783 #831F97 #97831F
tetradic
#1F9783 #471F97 #971F33 #6F971F
square
#1F9783 #471F97 #971F33 #6F971F
split-complementary
#1F9783 #971F6F #97471F
monochromatic
#0A312B #156457 #1F9783 #29CAAF #54DCC5

Accessibility & contrast

On white

3.61
#1F9783 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9783#FFFFFF#000000##000000
##1F97831.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9783;
/* rgb */ color: rgb(31, 151, 131);
/* oklch */ color: oklch(60.9% 0.105 178.2);
Tailwind
colors: {
  custom: {
    50: '#71b6a7',
    500: '#1f9783',
    950: '#000000',
  },
}
SCSS
$custom: #1f9783;
$custom-light: #71b6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9783",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 131
  },
  "hsl": {
    "h": 170,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60882,
    "c": 0.10471,
    "h": 178.2
  },
  "luminance": 0.24063
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9783

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

Preview Lab → · Contrast checker → · Palette generator →

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