#1F7967#1F7967

#1F7967 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.087 H 176.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#1F7967
RGBrgb(31, 121, 103)
HSLhsl(168, 59%, 30%)
HSVhsv(168, 74%, 47%)
CMYKcmyk(74.4%, 0%, 14.9%, 52.5%)
CIE-LABlab(45.56, -30.48, 2.40)
CIE-LCHlch(45.56, 30.58, 175.51°)
OKLaboklab(51.97% -0.0869 0.0059)
OKLCHoklch(51.97% 0.087 176.1)
XYZxyz(9.8494, 14.9442, 15.1948)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7967 #791F31
analogous
#1F793A #1F7967 #1F5E79
triadic
#1F7967 #671F79 #79671F
tetradic
#1F7967 #3A1F79 #791F31 #5E791F
square
#1F7967 #3A1F79 #791F31 #5E791F
split-complementary
#1F7967 #791F5E #793A1F
monochromatic
#061815 #13483E #1F7967 #2BAA90 #43CFB3

Accessibility & contrast

On white

5.26
#1F7967 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#1F7967 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7967
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7967#FFFFFF#000000##FFFFFF
##1F79671.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747166
Deuteranopia (green-blind)
#686868
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7967;
/* rgb */ color: rgb(31, 121, 103);
/* oklch */ color: oklch(52.0% 0.087 176.1);
Tailwind
colors: {
  custom: {
    50: '#69a092',
    500: '#1f7967',
    950: '#000000',
  },
}
SCSS
$custom: #1f7967;
$custom-light: #69a092;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7967",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 103
  },
  "hsl": {
    "h": 168,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.08709,
    "h": 176.1
  },
  "luminance": 0.14945
}

Semantic roles & 50–950 ramp

primary
#1F7967
secondary
#AC475C
accent
#4565E2
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0D
muted
#7A7E7D

Preview Lab

Preview with #1F7967

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

Preview Lab → · Contrast checker → · Palette generator →

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