#1FA798#1FA798

#1FA798 is a light, moderate teal. Relative luminance 0.302; OKLCH L 65.7% C 0.111 H 183.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#1FA798
RGBrgb(31, 167, 152)
HSLhsl(173, 69%, 39%)
HSVhsv(173, 81%, 65%)
CMYKcmyk(81.4%, 0%, 9%, 34.5%)
CIE-LABlab(61.82, -37.80, -2.14)
CIE-LCHlch(61.82, 37.86, 183.24°)
OKLaboklab(65.71% -0.1107 -0.0064)
OKLCHoklch(65.71% 0.111 183.3)
XYZxyz(20.0485, 30.1932, 34.4709)
Luminance0.3020 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA798 #A71F2E
analogous
#1FA754 #1FA798 #1F72A7
triadic
#1FA798 #981FA7 #A7981F
tetradic
#1FA798 #541FA7 #A71F2E #72A71F
square
#1FA798 #541FA7 #A71F2E #72A71F
split-complementary
#1FA798 #A71F72 #A7541F
monochromatic
#0C403A #157369 #1FA798 #2BD8C5 #5FE1D3

Accessibility & contrast

On white

2.98
#1FA798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#1FA798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #1FA798
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA798#FFFFFF#000000##000000
##1FA7981.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9D97
Deuteranopia (green-blind)
#8D9099
Tritanopia (blue-blind)
#00ABA2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #1fa798;
/* rgb */ color: rgb(31, 167, 152);
/* oklch */ color: oklch(65.7% 0.111 183.3);
Tailwind
colors: {
  custom: {
    50: '#75c2b6',
    500: '#1fa798',
    950: '#000000',
  },
}
SCSS
$custom: #1fa798;
$custom-light: #75c2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa798",
  "rgb": {
    "r": 31,
    "g": 167,
    "b": 152
  },
  "hsl": {
    "h": 173.382,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65709,
    "c": 0.11085,
    "h": 183.3
  },
  "luminance": 0.30196
}

Semantic roles & 50–950 ramp

primary
#1FA798
secondary
#C65C68
accent
#3C50EC
background
#F7FCFB
surface
#EEF8F6
border
#C9D1D0
text
#0A1211
muted
#7C8180

Preview Lab

Preview with #1FA798

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

Preview Lab → · Contrast checker → · Palette generator →

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