#1F9178#1F9178

#1F9178 is a mid, moderate teal. Relative luminance 0.219; OKLCH L 59.0% C 0.105 H 173.7°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1F9178
RGBrgb(31, 145, 120)
HSLhsl(167, 65%, 35%)
HSVhsv(167, 79%, 57%)
CMYKcmyk(78.6%, 0%, 17.2%, 43.1%)
CIE-LABlab(53.92, -36.81, 4.54)
CIE-LCHlch(53.92, 37.09, 172.98°)
OKLaboklab(58.96% -0.1039 0.0114)
OKLCHoklch(58.96% 0.105 173.7)
XYZxyz(14.0789, 21.8964, 21.2501)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9178 #911F38
analogous
#1F913F #1F9178 #1F7191
triadic
#1F9178 #781F91 #91781F
tetradic
#1F9178 #3F1F91 #911F38 #71911F
square
#1F9178 #3F1F91 #911F38 #71911F
split-complementary
#1F9178 #911F71 #913F1F
monochromatic
#092C25 #145F4E #1F9178 #2AC3A2 #51DABC

Accessibility & contrast

On white

3.90
#1F9178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#1F9178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9178
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9178#FFFFFF#000000##000000
##1F91781.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8777
Deuteranopia (green-blind)
#7D7C7A
Tritanopia (blue-blind)
#00938A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9178;
/* rgb */ color: rgb(31, 145, 120);
/* oklch */ color: oklch(59.0% 0.105 173.7);
Tailwind
colors: {
  custom: {
    50: '#6fb29f',
    500: '#1f9178',
    950: '#000000',
  },
}
SCSS
$custom: #1f9178;
$custom-light: #6fb29f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9178",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 120
  },
  "hsl": {
    "h": 166.842,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58959,
    "c": 0.10453,
    "h": 173.7
  },
  "luminance": 0.21898
}

Semantic roles & 50–950 ramp

primary
#1F9178
secondary
#BD4F67
accent
#4065E8
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#08110E
muted
#7B807E

Preview Lab

Preview with #1F9178

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

Preview Lab → · Contrast checker → · Palette generator →

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