#1F785B#1F785B

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

Color values

HEX#1F785B
RGBrgb(31, 120, 91)
HSLhsl(160, 59%, 30%)
HSVhsv(160, 74%, 47%)
CMYKcmyk(74.2%, 0%, 24.2%, 52.9%)
CIE-LABlab(44.91, -33.24, 8.58)
CIE-LCHlch(44.91, 34.33, 165.52°)
OKLaboklab(51.34% -0.0919 0.0219)
OKLCHoklch(51.34% 0.095 166.6)
XYZxyz(9.1688, 14.4785, 12.2069)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F785B #781F3C
analogous
#1F782E #1F785B #1F6978
triadic
#1F785B #5B1F78 #785B1F
tetradic
#1F785B #2E1F78 #781F3C #69781F
square
#1F785B #2E1F78 #781F3C #69781F
split-complementary
#1F785B #781F69 #782E1F
monochromatic
#061812 #124736 #1F785B #2CA980 #43CEA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F785B#FFFFFF#000000##FFFFFF
##1F785B1.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)
#756F59
Deuteranopia (green-blind)
#6A675D
Tritanopia (blue-blind)
#007870
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f785b;
/* rgb */ color: rgb(31, 120, 91);
/* oklch */ color: oklch(51.3% 0.095 166.6);
Tailwind
colors: {
  custom: {
    50: '#68a089',
    500: '#1f785b',
    950: '#000000',
  },
}
SCSS
$custom: #1f785b;
$custom-light: #68a089;
$custom-dark: #000000;
JSON
{
  "hex": "#1f785b",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 91
  },
  "hsl": {
    "h": 160.449,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51339,
    "c": 0.09451,
    "h": 166.6
  },
  "luminance": 0.1448
}

Semantic roles & 50–950 ramp

primary
#1F785B
secondary
#AB4768
accent
#4679E2
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #1F785B

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

Preview Lab → · Contrast checker → · Palette generator →

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