#1F794F#1F794F

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

Color values

HEX#1F794F
RGBrgb(31, 121, 79)
HSLhsl(152, 59%, 30%)
HSVhsv(152, 74%, 47%)
CMYKcmyk(74.4%, 0%, 34.7%, 52.5%)
CIE-LABlab(44.98, -36.55, 15.71)
CIE-LCHlch(44.98, 39.78, 156.74°)
OKLaboklab(51.31% -0.0992 0.0397)
OKLCHoklch(51.31% 0.107 158.2)
XYZxyz(8.8129, 14.5296, 9.7356)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F794F #791F49
analogous
#1F7922 #1F794F #1F7679
triadic
#1F794F #4F1F79 #794F1F
tetradic
#1F794F #221F79 #791F49 #76791F
square
#1F794F #221F79 #791F49 #76791F
split-complementary
#1F794F #791F76 #79221F
monochromatic
#061810 #13482F #1F794F #2BAA6F #43CF8E

Accessibility & contrast

On white

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

On black

3.91
#1F794F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F794F#FFFFFF#000000##FFFFFF
##1F794F1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f794f;
/* rgb */ color: rgb(31, 121, 79);
/* oklch */ color: oklch(51.3% 0.107 158.2);
Tailwind
colors: {
  custom: {
    50: '#68a080',
    500: '#1f794f',
    950: '#000000',
  },
}
SCSS
$custom: #1f794f;
$custom-light: #68a080;
$custom-dark: #000000;
JSON
{
  "hex": "#1f794f",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 79
  },
  "hsl": {
    "h": 152,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.10682,
    "h": 158.2
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#1F794F
secondary
#AC4777
accent
#458FE2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1F794F

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

Preview Lab → · Contrast checker → · Palette generator →

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