#1F8774#1F8774

#1F8774 is a mid, moderate teal. Relative luminance 0.189; OKLCH L 56.2% C 0.096 H 177.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F8774
RGBrgb(31, 135, 116)
HSLhsl(169, 63%, 33%)
HSVhsv(169, 77%, 53%)
CMYKcmyk(77%, 0%, 14.1%, 47.1%)
CIE-LABlab(50.55, -33.38, 1.98)
CIE-LCHlch(50.55, 33.44, 176.61°)
OKLaboklab(56.17% -0.0954 0.0047)
OKLCHoklch(56.17% 0.096 177.2)
XYZxyz(12.3798, 18.8787, 19.5111)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8774 #871F32
analogous
#1F8740 #1F8774 #1F6687
triadic
#1F8774 #741F87 #87741F
tetradic
#1F8774 #401F87 #871F32 #66871F
square
#1F8774 #401F87 #871F32 #66871F
split-complementary
#1F8774 #871F66 #87401F
monochromatic
#08231E #145549 #1F8774 #2AB99F #4BD6BC

Accessibility & contrast

On white

4.40
#1F8774 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#1F8774 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8774
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8774#FFFFFF#000000##000000
##1F87741.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#817E73
Deuteranopia (green-blind)
#747475
Tritanopia (blue-blind)
#008981
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8774;
/* rgb */ color: rgb(31, 135, 116);
/* oklch */ color: oklch(56.2% 0.096 177.2);
Tailwind
colors: {
  custom: {
    50: '#6daa9c',
    500: '#1f8774',
    950: '#000000',
  },
}
SCSS
$custom: #1f8774;
$custom-light: #6daa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8774",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 116
  },
  "hsl": {
    "h": 169.038,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56165,
    "c": 0.09555,
    "h": 177.2
  },
  "luminance": 0.1888
}

Semantic roles & 50–950 ramp

primary
#1F8774
secondary
#B84A5E
accent
#4260E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8774

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

Preview Lab → · Contrast checker → · Palette generator →

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