#1F9978#1F9978

#1F9978 is a mid, moderate teal. Relative luminance 0.244; OKLCH L 61.1% C 0.114 H 169.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#1F9978
RGBrgb(31, 153, 120)
HSLhsl(164, 66%, 36%)
HSVhsv(164, 80%, 60%)
CMYKcmyk(79.7%, 0%, 21.6%, 40%)
CIE-LABlab(56.51, -40.30, 8.25)
CIE-LCHlch(56.51, 41.14, 168.43°)
OKLaboklab(61.09% -0.1121 0.0211)
OKLCHoklch(61.09% 0.114 169.4)
XYZxyz(15.3446, 24.4279, 21.6720)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9978 #991F40
analogous
#1F993B #1F9978 #1F7D99
triadic
#1F9978 #781F99 #99781F
tetradic
#1F9978 #3B1F99 #991F40 #7D991F
square
#1F9978 #3B1F99 #991F40 #7D991F
split-complementary
#1F9978 #991F7D #993B1F
monochromatic
#0A3328 #156650 #1F9978 #29CCA0 #56DDB8

Accessibility & contrast

On white

3.57
#1F9978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#1F9978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9978
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9978#FFFFFF#000000##000000
##1F99781.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958E76
Deuteranopia (green-blind)
#85837A
Tritanopia (blue-blind)
#009A90
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9978;
/* rgb */ color: rgb(31, 153, 120);
/* oklch */ color: oklch(61.1% 0.114 169.4);
Tailwind
colors: {
  custom: {
    50: '#70b89f',
    500: '#1f9978',
    950: '#000000',
  },
}
SCSS
$custom: #1f9978;
$custom-light: #70b89f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9978",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 120
  },
  "hsl": {
    "h": 163.77,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61088,
    "c": 0.11408,
    "h": 169.4
  },
  "luminance": 0.2443
}

Semantic roles & 50–950 ramp

primary
#1F9978
secondary
#C05471
accent
#3F6DE9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F9978

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

Preview Lab → · Contrast checker → · Palette generator →

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