#1F794D#1F794D

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

Color values

HEX#1F794D
RGBrgb(31, 121, 77)
HSLhsl(151, 59%, 30%)
HSVhsv(151, 74%, 47%)
CMYKcmyk(74.4%, 0%, 36.4%, 52.5%)
CIE-LABlab(44.94, -36.99, 16.81)
CIE-LCHlch(44.94, 40.63, 155.56°)
OKLaboklab(51.26% -0.1002 0.0423)
OKLCHoklch(51.26% 0.109 157.1)
XYZxyz(8.7412, 14.5009, 9.3580)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F794D #791F4B
analogous
#1F7920 #1F794D #1F7879
triadic
#1F794D #4D1F79 #794D1F
tetradic
#1F794D #201F79 #791F4B #78791F
square
#1F794D #201F79 #791F4B #78791F
split-complementary
#1F794D #791F78 #79201F
monochromatic
#061810 #13482E #1F794D #2BAA6C #43CF8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F794D#FFFFFF#000000##FFFFFF
##1F794D1.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)
#786F4A
Deuteranopia (green-blind)
#6D6750
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f794d;
/* rgb */ color: rgb(31, 121, 77);
/* oklch */ color: oklch(51.3% 0.109 157.1);
Tailwind
colors: {
  custom: {
    50: '#68a07f',
    500: '#1f794d',
    950: '#000000',
  },
}
SCSS
$custom: #1f794d;
$custom-light: #68a07f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f794d",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 77
  },
  "hsl": {
    "h": 150.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51264,
    "c": 0.10877,
    "h": 157.1
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#1F794D
secondary
#AC4779
accent
#4592E2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1F794D

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

Preview Lab → · Contrast checker → · Palette generator →

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