#1F774F#1F774F

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

Color values

HEX#1F774F
RGBrgb(31, 119, 79)
HSLhsl(153, 59%, 29%)
HSVhsv(153, 74%, 47%)
CMYKcmyk(73.9%, 0%, 33.6%, 53.3%)
CIE-LABlab(44.30, -35.70, 14.78)
CIE-LCHlch(44.30, 38.64, 157.50°)
OKLaboklab(50.75% -0.097 0.0374)
OKLCHoklch(50.75% 0.104 158.9)
XYZxyz(8.5723, 14.0485, 9.6555)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F774F #771F47
analogous
#1F7723 #1F774F #1F7377
triadic
#1F774F #4F1F77 #774F1F
tetradic
#1F774F #231F77 #771F47 #73771F
square
#1F774F #231F77 #771F47 #73771F
split-complementary
#1F774F #771F73 #77231F
monochromatic
#061810 #12462F #1F774F #2CA86F #43CE8F

Accessibility & contrast

On white

5.51
#1F774F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F774F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F774F#FFFFFF#000000##FFFFFF
##1F774F1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f774f;
/* rgb */ color: rgb(31, 119, 79);
/* oklch */ color: oklch(50.7% 0.104 158.9);
Tailwind
colors: {
  custom: {
    50: '#689f80',
    500: '#1f774f',
    950: '#000000',
  },
}
SCSS
$custom: #1f774f;
$custom-light: #689f80;
$custom-dark: #000000;
JSON
{
  "hex": "#1f774f",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 79
  },
  "hsl": {
    "h": 152.727,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5075,
    "c": 0.10398,
    "h": 158.9
  },
  "luminance": 0.14049
}

Semantic roles & 50–950 ramp

primary
#1F774F
secondary
#AB4774
accent
#468DE2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #1F774F

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

Preview Lab → · Contrast checker → · Palette generator →

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