#1F784E#1F784E

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

Color values

HEX#1F784E
RGBrgb(31, 120, 78)
HSLhsl(152, 59%, 30%)
HSVhsv(152, 74%, 47%)
CMYKcmyk(74.2%, 0%, 35%, 52.9%)
CIE-LABlab(44.62, -36.35, 15.80)
CIE-LCHlch(44.62, 39.63, 156.51°)
OKLaboklab(51.01% -0.0986 0.0399)
OKLCHoklch(51.01% 0.106 158)
XYZxyz(8.6558, 14.2733, 9.5051)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F784E #781F49
analogous
#1F7821 #1F784E #1F7678
triadic
#1F784E #4E1F78 #784E1F
tetradic
#1F784E #211F78 #781F49 #76781F
square
#1F784E #211F78 #781F49 #76781F
split-complementary
#1F784E #781F76 #78211F
monochromatic
#061810 #12472E #1F784E #2CA96E #43CE8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F784E#FFFFFF#000000##FFFFFF
##1F784E1.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)
#776E4B
Deuteranopia (green-blind)
#6C6651
Tritanopia (blue-blind)
#00776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f784e;
/* rgb */ color: rgb(31, 120, 78);
/* oklch */ color: oklch(51.0% 0.106 158.0);
Tailwind
colors: {
  custom: {
    50: '#68a07f',
    500: '#1f784e',
    950: '#000000',
  },
}
SCSS
$custom: #1f784e;
$custom-light: #68a07f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f784e",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 78
  },
  "hsl": {
    "h": 151.685,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.10637,
    "h": 158
  },
  "luminance": 0.14274
}

Semantic roles & 50–950 ramp

primary
#1F784E
secondary
#AB4777
accent
#4690E2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1F784E

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

Preview Lab → · Contrast checker → · Palette generator →

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