#1F8972#1F8972

#1F8972 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.6% C 0.099 H 174.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1F8972
RGBrgb(31, 137, 114)
HSLhsl(167, 63%, 33%)
HSVhsv(167, 77%, 54%)
CMYKcmyk(77.4%, 0%, 16.8%, 46.3%)
CIE-LABlab(51.15, -34.84, 4.01)
CIE-LCHlch(51.15, 35.07, 173.43°)
OKLaboklab(56.64% -0.0985 0.0101)
OKLCHoklch(56.64% 0.099 174.2)
XYZxyz(12.5464, 19.3960, 18.9989)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8972 #891F36
analogous
#1F893D #1F8972 #1F6B89
triadic
#1F8972 #721F89 #89721F
tetradic
#1F8972 #3D1F89 #891F36 #6B891F
square
#1F8972 #3D1F89 #891F36 #6B891F
split-complementary
#1F8972 #891F6B #893D1F
monochromatic
#08251F #145748 #1F8972 #2ABB9C #4CD6B8

Accessibility & contrast

On white

4.30
#1F8972 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1F8972 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8972
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8972#FFFFFF#000000##000000
##1F89721.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#848071
Deuteranopia (green-blind)
#767674
Tritanopia (blue-blind)
#008B82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8972;
/* rgb */ color: rgb(31, 137, 114);
/* oklch */ color: oklch(56.6% 0.099 174.2);
Tailwind
colors: {
  custom: {
    50: '#6dac9a',
    500: '#1f8972',
    950: '#000000',
  },
}
SCSS
$custom: #1f8972;
$custom-light: #6dac9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8972",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 114
  },
  "hsl": {
    "h": 166.981,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5664,
    "c": 0.09904,
    "h": 174.2
  },
  "luminance": 0.19398
}

Semantic roles & 50–950 ramp

primary
#1F8972
secondary
#B94B63
accent
#4265E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8972

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

Preview Lab → · Contrast checker → · Palette generator →

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