#1F774E#1F774E

#1F774E is a mid, moderate teal. Relative luminance 0.140; OKLCH L 50.7% C 0.105 H 158.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#1F774E
RGBrgb(31, 119, 78)
HSLhsl(152, 59%, 29%)
HSVhsv(152, 74%, 47%)
CMYKcmyk(73.9%, 0%, 34.5%, 53.3%)
CIE-LABlab(44.28, -35.92, 15.34)
CIE-LCHlch(44.28, 39.06, 156.88°)
OKLaboklab(50.73% -0.0975 0.0387)
OKLCHoklch(50.73% 0.105 158.3)
XYZxyz(8.5362, 14.0340, 9.4652)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F774E #771F48
analogous
#1F7722 #1F774E #1F7477
triadic
#1F774E #4E1F77 #774E1F
tetradic
#1F774E #221F77 #771F48 #74771F
square
#1F774E #221F77 #771F48 #74771F
split-complementary
#1F774E #771F74 #77221F
monochromatic
#061810 #12462E #1F774E #2CA86E #43CE8D

Accessibility & contrast

On white

5.52
#1F774E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#1F774E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F774E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F774E#FFFFFF#000000##FFFFFF
##1F774E1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766D4B
Deuteranopia (green-blind)
#6B6651
Tritanopia (blue-blind)
#00766C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f774e;
/* rgb */ color: rgb(31, 119, 78);
/* oklch */ color: oklch(50.7% 0.105 158.3);
Tailwind
colors: {
  custom: {
    50: '#689f7f',
    500: '#1f774e',
    950: '#000000',
  },
}
SCSS
$custom: #1f774e;
$custom-light: #689f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f774e",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 78
  },
  "hsl": {
    "h": 152.045,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.10494,
    "h": 158.3
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#1F774E
secondary
#AB4776
accent
#468FE2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #1F774E

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

Preview Lab → · Contrast checker → · Palette generator →

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