#1FA787#1FA787

#1FA787 is a light, vivid teal. Relative luminance 0.297; OKLCH L 65.2% C 0.120 H 171.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#1FA787
RGBrgb(31, 167, 135)
HSLhsl(166, 69%, 39%)
HSVhsv(166, 81%, 65%)
CMYKcmyk(81.4%, 0%, 19.2%, 34.5%)
CIE-LABlab(61.37, -42.42, 6.74)
CIE-LCHlch(61.37, 42.95, 170.97°)
OKLaboklab(65.2% -0.1188 0.0171)
OKLCHoklch(65.2% 0.12 171.8)
XYZxyz(18.7546, 29.6757, 27.6565)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA787 #A71F3F
analogous
#1FA743 #1FA787 #1F83A7
triadic
#1FA787 #871FA7 #A7871F
tetradic
#1FA787 #431FA7 #A71F3F #83A71F
square
#1FA787 #431FA7 #A71F3F #83A71F
split-complementary
#1FA787 #A71F83 #A7431F
monochromatic
#0C4034 #15735D #1FA787 #2BD8AF #5FE1C3

Accessibility & contrast

On white

3.03
#1FA787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#1FA787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA787
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA787#FFFFFF#000000##000000
##1FA7871.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29B85
Deuteranopia (green-blind)
#918F89
Tritanopia (blue-blind)
#00A99E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #1fa787;
/* rgb */ color: rgb(31, 167, 135);
/* oklch */ color: oklch(65.2% 0.120 171.8);
Tailwind
colors: {
  custom: {
    50: '#74c2aa',
    500: '#1fa787',
    950: '#000000',
  },
}
SCSS
$custom: #1fa787;
$custom-light: #74c2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa787",
  "rgb": {
    "r": 31,
    "g": 167,
    "b": 135
  },
  "hsl": {
    "h": 165.882,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65195,
    "c": 0.12007,
    "h": 171.8
  },
  "luminance": 0.29678
}

Semantic roles & 50–950 ramp

primary
#1FA787
secondary
#C65C75
accent
#3C66EC
background
#F7FCFA
surface
#EEF8F4
border
#C9D1CE
text
#0A1210
muted
#7C817F

Preview Lab

Preview with #1FA787

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

Preview Lab → · Contrast checker → · Palette generator →

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