#1F784C#1F784C

#1F784C is a mid, moderate teal. Relative luminance 0.142; OKLCH L 51.0% C 0.108 H 156.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1F784C
RGBrgb(31, 120, 76)
HSLhsl(150, 59%, 30%)
HSVhsv(150, 74%, 47%)
CMYKcmyk(74.2%, 0%, 36.7%, 52.9%)
CIE-LABlab(44.58, -36.79, 16.90)
CIE-LCHlch(44.58, 40.49, 155.32°)
OKLaboklab(50.96% -0.0996 0.0425)
OKLCHoklch(50.96% 0.108 156.9)
XYZxyz(8.5852, 14.2451, 9.1332)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F784C #781F4B
analogous
#1F7820 #1F784C #1F7878
triadic
#1F784C #4C1F78 #784C1F
tetradic
#1F784C #201F78 #781F4B #78781F
square
#1F784C #201F78 #781F4B #78781F
split-complementary
#1F784C #781F78 #78201F
monochromatic
#06180F #12472D #1F784C #2CA96B #43CE89

Accessibility & contrast

On white

5.46
#1F784C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F784C
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F784C#FFFFFF#000000##FFFFFF
##1F784C1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f784c;
/* rgb */ color: rgb(31, 120, 76);
/* oklch */ color: oklch(51.0% 0.108 156.9);
Tailwind
colors: {
  custom: {
    50: '#68a07e',
    500: '#1f784c',
    950: '#000000',
  },
}
SCSS
$custom: #1f784c;
$custom-light: #68a07e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f784c",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 76
  },
  "hsl": {
    "h": 150.337,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.10832,
    "h": 156.9
  },
  "luminance": 0.14246
}

Semantic roles & 50–950 ramp

primary
#1F784C
secondary
#AB4779
accent
#4693E2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1F784C

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

Preview Lab → · Contrast checker → · Palette generator →

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