#1F794E#1F794E

#1F794E is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.3% C 0.108 H 157.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1F794E
RGBrgb(31, 121, 78)
HSLhsl(151, 59%, 30%)
HSVhsv(151, 74%, 47%)
CMYKcmyk(74.4%, 0%, 35.5%, 52.5%)
CIE-LABlab(44.96, -36.77, 16.26)
CIE-LCHlch(44.96, 40.21, 156.15°)
OKLaboklab(51.29% -0.0997 0.041)
OKLCHoklch(51.29% 0.108 157.7)
XYZxyz(8.7767, 14.5151, 9.5454)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F794E #791F4A
analogous
#1F7921 #1F794E #1F7779
triadic
#1F794E #4E1F79 #794E1F
tetradic
#1F794E #211F79 #791F4A #77791F
square
#1F794E #211F79 #791F4A #77791F
split-complementary
#1F794E #791F77 #79211F
monochromatic
#061810 #13482F #1F794E #2BAA6D #43CF8C

Accessibility & contrast

On white

5.38
#1F794E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1F794E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F794E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F794E#FFFFFF#000000##FFFFFF
##1F794E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4B
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f794e;
/* rgb */ color: rgb(31, 121, 78);
/* oklch */ color: oklch(51.3% 0.108 157.7);
Tailwind
colors: {
  custom: {
    50: '#68a080',
    500: '#1f794e',
    950: '#000000',
  },
}
SCSS
$custom: #1f794e;
$custom-light: #68a080;
$custom-dark: #000000;
JSON
{
  "hex": "#1f794e",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 78
  },
  "hsl": {
    "h": 151.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51287,
    "c": 0.10779,
    "h": 157.7
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#1F794E
secondary
#AC4778
accent
#4590E2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1F794E

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

Preview Lab → · Contrast checker → · Palette generator →

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