#1F795E#1F795E

#1F795E is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.093 H 168.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1F795E
RGBrgb(31, 121, 94)
HSLhsl(162, 59%, 30%)
HSVhsv(162, 74%, 47%)
CMYKcmyk(74.4%, 0%, 22.3%, 52.5%)
CIE-LABlab(45.32, -32.92, 7.39)
CIE-LCHlch(45.32, 33.74, 167.35°)
OKLaboklab(51.7% -0.0915 0.0189)
OKLCHoklch(51.7% 0.093 168.3)
XYZxyz(9.4217, 14.7731, 12.9424)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F795E #791F3A
analogous
#1F7931 #1F795E #1F6779
triadic
#1F795E #5E1F79 #795E1F
tetradic
#1F795E #311F79 #791F3A #67791F
square
#1F795E #311F79 #791F3A #67791F
split-complementary
#1F795E #791F67 #79311F
monochromatic
#061813 #134838 #1F795E #2BAA84 #43CFA5

Accessibility & contrast

On white

5.31
#1F795E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1F795E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F795E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F795E#FFFFFF#000000##FFFFFF
##1F795E1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705D
Deuteranopia (green-blind)
#6A6860
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f795e;
/* rgb */ color: rgb(31, 121, 94);
/* oklch */ color: oklch(51.7% 0.093 168.3);
Tailwind
colors: {
  custom: {
    50: '#69a08b',
    500: '#1f795e',
    950: '#000000',
  },
}
SCSS
$custom: #1f795e;
$custom-light: #69a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f795e",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 162,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.517,
    "c": 0.09342,
    "h": 168.3
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#1F795E
secondary
#AC4766
accent
#4575E2
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #1F795E

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

Preview Lab → · Contrast checker → · Palette generator →

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