#1F795C#1F795C

#1F795C is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.6% C 0.095 H 166.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#1F795C
RGBrgb(31, 121, 92)
HSLhsl(161, 59%, 30%)
HSVhsv(161, 74%, 47%)
CMYKcmyk(74.4%, 0%, 24%, 52.5%)
CIE-LABlab(45.27, -33.43, 8.50)
CIE-LCHlch(45.27, 34.50, 165.73°)
OKLaboklab(51.64% -0.0925 0.0217)
OKLCHoklch(51.64% 0.095 166.8)
XYZxyz(9.3332, 14.7377, 12.4759)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F795C #791F3C
analogous
#1F792F #1F795C #1F6979
triadic
#1F795C #5C1F79 #795C1F
tetradic
#1F795C #2F1F79 #791F3C #69791F
square
#1F795C #2F1F79 #791F3C #69791F
split-complementary
#1F795C #791F69 #792F1F
monochromatic
#061813 #134837 #1F795C #2BAA81 #43CFA2

Accessibility & contrast

On white

5.32
#1F795C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F795C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F795C#FFFFFF#000000##FFFFFF
##1F795C1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705A
Deuteranopia (green-blind)
#6A685E
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f795c;
/* rgb */ color: rgb(31, 121, 92);
/* oklch */ color: oklch(51.6% 0.095 166.8);
Tailwind
colors: {
  custom: {
    50: '#69a08a',
    500: '#1f795c',
    950: '#000000',
  },
}
SCSS
$custom: #1f795c;
$custom-light: #69a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f795c",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 160.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.09504,
    "h": 166.8
  },
  "luminance": 0.14739
}

Semantic roles & 50–950 ramp

primary
#1F795C
secondary
#AC4768
accent
#4578E2
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1F795C

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

Preview Lab → · Contrast checker → · Palette generator →

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