#1F795A#1F795A

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

Color values

HEX#1F795A
RGBrgb(31, 121, 90)
HSLhsl(159, 59%, 30%)
HSVhsv(159, 74%, 47%)
CMYKcmyk(74.4%, 0%, 25.6%, 52.5%)
CIE-LABlab(45.23, -33.94, 9.61)
CIE-LCHlch(45.23, 35.27, 164.18°)
OKLaboklab(51.59% -0.0935 0.0246)
OKLCHoklch(51.59% 0.097 165.3)
XYZxyz(9.2469, 14.7032, 12.0215)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F795A #791F3E
analogous
#1F792D #1F795A #1F6B79
triadic
#1F795A #5A1F79 #795A1F
tetradic
#1F795A #2D1F79 #791F3E #6B791F
square
#1F795A #2D1F79 #791F3E #6B791F
split-complementary
#1F795A #791F6B #792D1F
monochromatic
#061812 #134836 #1F795A #2BAA7E #43CF9F

Accessibility & contrast

On white

5.33
#1F795A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#1F795A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F795A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F795A#FFFFFF#000000##FFFFFF
##1F795A1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767058
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f795a;
/* rgb */ color: rgb(31, 121, 90);
/* oklch */ color: oklch(51.6% 0.097 165.3);
Tailwind
colors: {
  custom: {
    50: '#69a088',
    500: '#1f795a',
    950: '#000000',
  },
}
SCSS
$custom: #1f795a;
$custom-light: #69a088;
$custom-dark: #000000;
JSON
{
  "hex": "#1f795a",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 90
  },
  "hsl": {
    "h": 159.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51588,
    "c": 0.09672,
    "h": 165.3
  },
  "luminance": 0.14704
}

Semantic roles & 50–950 ramp

primary
#1F795A
secondary
#AC476A
accent
#457BE2
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1F795A

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

Preview Lab → · Contrast checker → · Palette generator →

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