#1F795D#1F795D

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

Color values

HEX#1F795D
RGBrgb(31, 121, 93)
HSLhsl(161, 59%, 30%)
HSVhsv(161, 74%, 47%)
CMYKcmyk(74.4%, 0%, 23.1%, 52.5%)
CIE-LABlab(45.30, -33.18, 7.95)
CIE-LCHlch(45.30, 34.11, 166.53°)
OKLaboklab(51.67% -0.092 0.0203)
OKLCHoklch(51.67% 0.094 167.5)
XYZxyz(9.3772, 14.7553, 12.7077)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F795D #791F3B
analogous
#1F7930 #1F795D #1F6879
triadic
#1F795D #5D1F79 #795D1F
tetradic
#1F795D #301F79 #791F3B #68791F
square
#1F795D #301F79 #791F3B #68791F
split-complementary
#1F795D #791F68 #79301F
monochromatic
#061813 #134838 #1F795D #2BAA82 #43CFA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F795D#FFFFFF#000000##FFFFFF
##1F795D1.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)
#76705C
Deuteranopia (green-blind)
#6A685F
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1f795d;
/* rgb */ color: rgb(31, 121, 93);
/* oklch */ color: oklch(51.7% 0.094 167.5);
Tailwind
colors: {
  custom: {
    50: '#69a08b',
    500: '#1f795d',
    950: '#000000',
  },
}
SCSS
$custom: #1f795d;
$custom-light: #69a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f795d",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 161.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51672,
    "c": 0.09422,
    "h": 167.5
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#1F795D
secondary
#AC4767
accent
#4576E2
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1F795D

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

Preview Lab → · Contrast checker → · Palette generator →

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