#1F7963#1F7963

#1F7963 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.8% C 0.090 H 172.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1F7963
RGBrgb(31, 121, 99)
HSLhsl(165, 59%, 30%)
HSVhsv(165, 74%, 47%)
CMYKcmyk(74.4%, 0%, 18.2%, 52.5%)
CIE-LABlab(45.45, -31.59, 4.61)
CIE-LCHlch(45.45, 31.92, 171.69°)
OKLaboklab(51.85% -0.0889 0.0117)
OKLCHoklch(51.85% 0.09 172.5)
XYZxyz(9.6534, 14.8658, 14.1626)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7963 #791F35
analogous
#1F7936 #1F7963 #1F6279
triadic
#1F7963 #631F79 #79631F
tetradic
#1F7963 #361F79 #791F35 #62791F
square
#1F7963 #361F79 #791F35 #62791F
split-complementary
#1F7963 #791F62 #79361F
monochromatic
#061814 #13483B #1F7963 #2BAA8B #43CFAD

Accessibility & contrast

On white

5.29
#1F7963 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1F7963 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7963
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7963#FFFFFF#000000##FFFFFF
##1F79631.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757162
Deuteranopia (green-blind)
#696865
Tritanopia (blue-blind)
#007A73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7963;
/* rgb */ color: rgb(31, 121, 99);
/* oklch */ color: oklch(51.8% 0.090 172.5);
Tailwind
colors: {
  custom: {
    50: '#69a08f',
    500: '#1f7963',
    950: '#000000',
  },
}
SCSS
$custom: #1f7963;
$custom-light: #69a08f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7963",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 99
  },
  "hsl": {
    "h": 165.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51847,
    "c": 0.08969,
    "h": 172.5
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#1F7963
secondary
#AC4760
accent
#456CE2
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #1F7963

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

Preview Lab → · Contrast checker → · Palette generator →

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