#1F785F#1F785F

#1F785F is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.5% C 0.091 H 169.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1F785F
RGBrgb(31, 120, 95)
HSLhsl(163, 59%, 30%)
HSVhsv(163, 74%, 47%)
CMYKcmyk(74.2%, 0%, 20.8%, 52.9%)
CIE-LABlab(45.01, -32.20, 6.36)
CIE-LCHlch(45.01, 32.82, 168.83°)
OKLaboklab(51.45% -0.0899 0.0162)
OKLCHoklch(51.45% 0.091 169.8)
XYZxyz(9.3460, 14.5494, 13.1400)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F785F #781F38
analogous
#1F7833 #1F785F #1F6578
triadic
#1F785F #5F1F78 #785F1F
tetradic
#1F785F #331F78 #781F38 #65781F
square
#1F785F #331F78 #781F38 #65781F
split-complementary
#1F785F #781F65 #78331F
monochromatic
#061813 #124738 #1F785F #2CA986 #43CEA7

Accessibility & contrast

On white

5.37
#1F785F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F785F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F785F#FFFFFF#000000##FFFFFF
##1F785F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705E
Deuteranopia (green-blind)
#696761
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f785f;
/* rgb */ color: rgb(31, 120, 95);
/* oklch */ color: oklch(51.5% 0.091 169.8);
Tailwind
colors: {
  custom: {
    50: '#699f8c',
    500: '#1f785f',
    950: '#000000',
  },
}
SCSS
$custom: #1f785f;
$custom-light: #699f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f785f",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 95
  },
  "hsl": {
    "h": 163.146,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51453,
    "c": 0.09133,
    "h": 169.8
  },
  "luminance": 0.1455
}

Semantic roles & 50–950 ramp

primary
#1F785F
secondary
#AB4763
accent
#4672E2
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #1F785F

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

Preview Lab → · Contrast checker → · Palette generator →

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