#1F784D#1F784D

#1F784D is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.0% C 0.107 H 157.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#1F784D
RGBrgb(31, 120, 77)
HSLhsl(151, 59%, 30%)
HSVhsv(151, 74%, 47%)
CMYKcmyk(74.2%, 0%, 35.8%, 52.9%)
CIE-LABlab(44.60, -36.57, 16.35)
CIE-LCHlch(44.60, 40.06, 155.91°)
OKLaboklab(50.98% -0.0991 0.0412)
OKLCHoklch(50.98% 0.107 157.4)
XYZxyz(8.6203, 14.2591, 9.3177)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F784D #781F4A
analogous
#1F7821 #1F784D #1F7778
triadic
#1F784D #4D1F78 #784D1F
tetradic
#1F784D #211F78 #781F4A #77781F
square
#1F784D #211F78 #781F4A #77781F
split-complementary
#1F784D #781F77 #78211F
monochromatic
#061810 #12472E #1F784D #2CA96C #43CE8B

Accessibility & contrast

On white

5.45
#1F784D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#1F784D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F784D
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F784D#FFFFFF#000000##FFFFFF
##1F784D1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776E4A
Deuteranopia (green-blind)
#6C6650
Tritanopia (blue-blind)
#00776D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f784d;
/* rgb */ color: rgb(31, 120, 77);
/* oklch */ color: oklch(51.0% 0.107 157.4);
Tailwind
colors: {
  custom: {
    50: '#68a07f',
    500: '#1f784d',
    950: '#000000',
  },
}
SCSS
$custom: #1f784d;
$custom-light: #68a07f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f784d",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 77
  },
  "hsl": {
    "h": 151.011,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50983,
    "c": 0.10735,
    "h": 157.4
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#1F784D
secondary
#AB4778
accent
#4691E2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1F784D

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

Preview Lab → · Contrast checker → · Palette generator →

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