#1F785E#1F785E

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

Color values

HEX#1F785E
RGBrgb(31, 120, 94)
HSLhsl(162, 59%, 30%)
HSVhsv(162, 74%, 47%)
CMYKcmyk(74.2%, 0%, 21.7%, 52.9%)
CIE-LABlab(44.99, -32.46, 6.91)
CIE-LCHlch(44.99, 33.19, 167.98°)
OKLaboklab(51.42% -0.0904 0.0177)
OKLCHoklch(51.42% 0.092 168.9)
XYZxyz(9.3009, 14.5313, 12.9021)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F785E #781F39
analogous
#1F7832 #1F785E #1F6678
triadic
#1F785E #5E1F78 #785E1F
tetradic
#1F785E #321F78 #781F39 #66781F
square
#1F785E #321F78 #781F39 #66781F
split-complementary
#1F785E #781F66 #78321F
monochromatic
#061813 #124738 #1F785E #2CA984 #43CEA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F785E#FFFFFF#000000##FFFFFF
##1F785E1.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)
#756F5D
Deuteranopia (green-blind)
#696760
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f785e;
/* rgb */ color: rgb(31, 120, 94);
/* oklch */ color: oklch(51.4% 0.092 168.9);
Tailwind
colors: {
  custom: {
    50: '#699f8b',
    500: '#1f785e',
    950: '#000000',
  },
}
SCSS
$custom: #1f785e;
$custom-light: #699f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f785e",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 94
  },
  "hsl": {
    "h": 162.472,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.0921,
    "h": 168.9
  },
  "luminance": 0.14532
}

Semantic roles & 50–950 ramp

primary
#1F785E
secondary
#AB4765
accent
#4673E2
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #1F785E

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

Preview Lab → · Contrast checker → · Palette generator →

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