#1F9378#1F9378

#1F9378 is a mid, moderate teal. Relative luminance 0.225; OKLCH L 59.5% C 0.107 H 172.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#1F9378
RGBrgb(31, 147, 120)
HSLhsl(166, 65%, 35%)
HSVhsv(166, 79%, 58%)
CMYKcmyk(78.9%, 0%, 18.4%, 42.4%)
CIE-LABlab(54.57, -37.70, 5.47)
CIE-LCHlch(54.57, 38.09, 171.74°)
OKLaboklab(59.49% -0.106 0.0139)
OKLCHoklch(59.49% 0.107 172.5)
XYZxyz(14.3872, 22.5130, 21.3528)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9378 #931F3A
analogous
#1F933E #1F9378 #1F7493
triadic
#1F9378 #781F93 #93781F
tetradic
#1F9378 #3E1F93 #931F3A #74931F
square
#1F9378 #3E1F93 #931F3A #74931F
split-complementary
#1F9378 #931F74 #933E1F
monochromatic
#0A2E25 #14604F #1F9378 #2AC6A1 #52DABB

Accessibility & contrast

On white

3.82
#1F9378 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#1F9378 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9378
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9378#FFFFFF#000000##000000
##1F93781.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8977
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#00948B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9378;
/* rgb */ color: rgb(31, 147, 120);
/* oklch */ color: oklch(59.5% 0.107 172.5);
Tailwind
colors: {
  custom: {
    50: '#6fb39f',
    500: '#1f9378',
    950: '#000000',
  },
}
SCSS
$custom: #1f9378;
$custom-light: #6fb39f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9378",
  "rgb": {
    "r": 31,
    "g": 147,
    "b": 120
  },
  "hsl": {
    "h": 166.034,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.10687,
    "h": 172.5
  },
  "luminance": 0.22515
}

Semantic roles & 50–950 ramp

primary
#1F9378
secondary
#BE506A
accent
#4067E8
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F9378

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

Preview Lab → · Contrast checker → · Palette generator →

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