#1F9771#1F9771

#1F9771 is a mid, moderate teal. Relative luminance 0.236; OKLCH L 60.4% C 0.117 H 166.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#1F9771
RGBrgb(31, 151, 113)
HSLhsl(161, 66%, 36%)
HSVhsv(161, 79%, 59%)
CMYKcmyk(79.5%, 0%, 25.2%, 40.8%)
CIE-LABlab(55.70, -41.21, 11.07)
CIE-LCHlch(55.70, 42.67, 164.97°)
OKLaboklab(60.37% -0.1135 0.0283)
OKLCHoklch(60.37% 0.117 166)
XYZxyz(14.6106, 23.6150, 19.4077)
Luminance0.2362 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9771 #971F45
analogous
#1F9735 #1F9771 #1F8197
triadic
#1F9771 #711F97 #97711F
tetradic
#1F9771 #351F97 #971F45 #81971F
square
#1F9771 #351F97 #971F45 #81971F
split-complementary
#1F9771 #971F81 #97351F
monochromatic
#0A3125 #15644B #1F9771 #29CA97 #54DCB1

Accessibility & contrast

On white

3.67
#1F9771 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#1F9771 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9771
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9771#FFFFFF#000000##000000
##1F97711.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948C6F
Deuteranopia (green-blind)
#858174
Tritanopia (blue-blind)
#00978C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9771;
/* rgb */ color: rgb(31, 151, 113);
/* oklch */ color: oklch(60.4% 0.117 166.0);
Tailwind
colors: {
  custom: {
    50: '#70b699',
    500: '#1f9771',
    950: '#000000',
  },
}
SCSS
$custom: #1f9771;
$custom-light: #70b699;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9771",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 113
  },
  "hsl": {
    "h": 161,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60366,
    "c": 0.11701,
    "h": 166
  },
  "luminance": 0.23617
}

Semantic roles & 50–950 ramp

primary
#1F9771
secondary
#BF5275
accent
#3F75E9
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #1F9771

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

Preview Lab → · Contrast checker → · Palette generator →

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