#1F7968#1F7968

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

Color values

HEX#1F7968
RGBrgb(31, 121, 104)
HSLhsl(169, 59%, 30%)
HSVhsv(169, 74%, 47%)
CMYKcmyk(74.4%, 0%, 14%, 52.5%)
CIE-LABlab(45.59, -30.20, 1.84)
CIE-LCHlch(45.59, 30.26, 176.51°)
OKLaboklab(52% -0.0864 0.0044)
OKLCHoklch(52% 0.086 177.1)
XYZxyz(9.8999, 14.9644, 15.4607)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7968 #791F30
analogous
#1F793B #1F7968 #1F5D79
triadic
#1F7968 #681F79 #79681F
tetradic
#1F7968 #3B1F79 #791F30 #5D791F
square
#1F7968 #3B1F79 #791F30 #5D791F
split-complementary
#1F7968 #791F5D #793B1F
monochromatic
#061815 #13483E #1F7968 #2BAA92 #43CFB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7968#FFFFFF#000000##FFFFFF
##1F79681.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)
#747167
Deuteranopia (green-blind)
#686869
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1f7968;
/* rgb */ color: rgb(31, 121, 104);
/* oklch */ color: oklch(52.0% 0.086 177.1);
Tailwind
colors: {
  custom: {
    50: '#69a093',
    500: '#1f7968',
    950: '#000000',
  },
}
SCSS
$custom: #1f7968;
$custom-light: #69a093;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7968",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 104
  },
  "hsl": {
    "h": 168.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52003,
    "c": 0.08649,
    "h": 177.1
  },
  "luminance": 0.14966
}

Semantic roles & 50–950 ramp

primary
#1F7968
secondary
#AC475A
accent
#4563E2
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #1F7968

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

Preview Lab → · Contrast checker → · Palette generator →

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