#1F784F#1F784F

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

Color values

HEX#1F784F
RGBrgb(31, 120, 79)
HSLhsl(152, 59%, 30%)
HSVhsv(152, 74%, 47%)
CMYKcmyk(74.2%, 0%, 34.2%, 52.9%)
CIE-LABlab(44.64, -36.12, 15.25)
CIE-LCHlch(44.64, 39.21, 157.12°)
OKLaboklab(51.03% -0.0981 0.0385)
OKLCHoklch(51.03% 0.105 158.6)
XYZxyz(8.6920, 14.2878, 9.6953)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F784F #781F48
analogous
#1F7823 #1F784F #1F7478
triadic
#1F784F #4F1F78 #784F1F
tetradic
#1F784F #231F78 #781F48 #74781F
square
#1F784F #231F78 #781F48 #74781F
split-complementary
#1F784F #781F74 #78231F
monochromatic
#061810 #12472F #1F784F #2CA96F #43CE8E

Accessibility & contrast

On white

5.44
#1F784F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1F784F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F784F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F784F#FFFFFF#000000##FFFFFF
##1F784F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776E4C
Deuteranopia (green-blind)
#6C6652
Tritanopia (blue-blind)
#00776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f784f;
/* rgb */ color: rgb(31, 120, 79);
/* oklch */ color: oklch(51.0% 0.105 158.6);
Tailwind
colors: {
  custom: {
    50: '#68a080',
    500: '#1f784f',
    950: '#000000',
  },
}
SCSS
$custom: #1f784f;
$custom-light: #68a080;
$custom-dark: #000000;
JSON
{
  "hex": "#1f784f",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 79
  },
  "hsl": {
    "h": 152.36,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5103,
    "c": 0.1054,
    "h": 158.6
  },
  "luminance": 0.14289
}

Semantic roles & 50–950 ramp

primary
#1F784F
secondary
#AB4775
accent
#468EE2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #1F784F

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

Preview Lab → · Contrast checker → · Palette generator →

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