#1F785A#1F785A

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

Color values

HEX#1F785A
RGBrgb(31, 120, 90)
HSLhsl(160, 59%, 30%)
HSVhsv(160, 74%, 47%)
CMYKcmyk(74.2%, 0%, 25%, 52.9%)
CIE-LABlab(44.89, -33.49, 9.14)
CIE-LCHlch(44.89, 34.72, 164.74°)
OKLaboklab(51.31% -0.0924 0.0234)
OKLCHoklch(51.31% 0.095 165.8)
XYZxyz(9.1260, 14.4614, 11.9812)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F785A #781F3D
analogous
#1F782E #1F785A #1F6A78
triadic
#1F785A #5A1F78 #785A1F
tetradic
#1F785A #2E1F78 #781F3D #6A781F
square
#1F785A #2E1F78 #781F3D #6A781F
split-complementary
#1F785A #781F6A #782E1F
monochromatic
#061812 #124736 #1F785A #2CA97E #43CE9F

Accessibility & contrast

On white

5.40
#1F785A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1F785A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F785A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F785A#FFFFFF#000000##FFFFFF
##1F785A1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756F58
Deuteranopia (green-blind)
#6A675C
Tritanopia (blue-blind)
#007870
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f785a;
/* rgb */ color: rgb(31, 120, 90);
/* oklch */ color: oklch(51.3% 0.095 165.8);
Tailwind
colors: {
  custom: {
    50: '#68a088',
    500: '#1f785a',
    950: '#000000',
  },
}
SCSS
$custom: #1f785a;
$custom-light: #68a088;
$custom-dark: #000000;
JSON
{
  "hex": "#1f785a",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 90
  },
  "hsl": {
    "h": 159.775,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.09536,
    "h": 165.8
  },
  "luminance": 0.14462
}

Semantic roles & 50–950 ramp

primary
#1F785A
secondary
#AB4769
accent
#467AE2
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1F785A

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

Preview Lab → · Contrast checker → · Palette generator →

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