#1F785C#1F785C

#1F785C is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.4% C 0.094 H 167.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1F785C
RGBrgb(31, 120, 92)
HSLhsl(161, 59%, 30%)
HSVhsv(161, 74%, 47%)
CMYKcmyk(74.2%, 0%, 23.3%, 52.9%)
CIE-LABlab(44.94, -32.98, 8.03)
CIE-LCHlch(44.94, 33.94, 166.32°)
OKLaboklab(51.37% -0.0914 0.0205)
OKLCHoklch(51.37% 0.094 167.3)
XYZxyz(9.2123, 14.4959, 12.4356)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F785C #781F3B
analogous
#1F7830 #1F785C #1F6778
triadic
#1F785C #5C1F78 #785C1F
tetradic
#1F785C #301F78 #781F3B #67781F
square
#1F785C #301F78 #781F3B #67781F
split-complementary
#1F785C #781F67 #78301F
monochromatic
#061813 #124737 #1F785C #2CA981 #43CEA3

Accessibility & contrast

On white

5.39
#1F785C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F785C
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F785C#FFFFFF#000000##FFFFFF
##1F785C1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756F5B
Deuteranopia (green-blind)
#69675E
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f785c;
/* rgb */ color: rgb(31, 120, 92);
/* oklch */ color: oklch(51.4% 0.094 167.3);
Tailwind
colors: {
  custom: {
    50: '#69a08a',
    500: '#1f785c',
    950: '#000000',
  },
}
SCSS
$custom: #1f785c;
$custom-light: #69a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f785c",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 92
  },
  "hsl": {
    "h": 161.124,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.09369,
    "h": 167.3
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#1F785C
secondary
#AB4767
accent
#4677E2
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1F785C

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

Preview Lab → · Contrast checker → · Palette generator →

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