#1FA878#1FA878

#1FA878 is a light, vivid teal. Relative luminance 0.297; OKLCH L 65.1% C 0.133 H 163.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#1FA878
RGBrgb(31, 168, 120)
HSLhsl(159, 69%, 39%)
HSVhsv(159, 82%, 66%)
CMYKcmyk(81.5%, 0%, 28.6%, 34.1%)
CIE-LABlab(61.35, -46.51, 15.05)
CIE-LCHlch(61.35, 48.89, 162.07°)
OKLaboklab(65.06% -0.1272 0.0383)
OKLCHoklch(65.06% 0.133 163.2)
XYZxyz(17.9558, 29.6504, 22.5424)
Luminance0.2965 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA878 #A81F4F
analogous
#1FA834 #1FA878 #1F94A8
triadic
#1FA878 #781FA8 #A8781F
tetradic
#1FA878 #341FA8 #A81F4F #94A81F
square
#1FA878 #341FA8 #A81F4F #94A81F
split-complementary
#1FA878 #A81F94 #A8341F
monochromatic
#0C412E #157453 #1FA878 #2CD89C #60E2B4

Accessibility & contrast

On white

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

On black

6.93
#1FA878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA878
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA878#FFFFFF#000000##000000
##1FA8781.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59B75
Deuteranopia (green-blind)
#958F7B
Tritanopia (blue-blind)
#00A89B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #1fa878;
/* rgb */ color: rgb(31, 168, 120);
/* oklch */ color: oklch(65.1% 0.133 163.2);
Tailwind
colors: {
  custom: {
    50: '#74c39f',
    500: '#1fa878',
    950: '#000000',
  },
}
SCSS
$custom: #1fa878;
$custom-light: #74c39f;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa878",
  "rgb": {
    "r": 31,
    "g": 168,
    "b": 120
  },
  "hsl": {
    "h": 158.978,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65064,
    "c": 0.1328,
    "h": 163.2
  },
  "luminance": 0.29653
}

Semantic roles & 50–950 ramp

primary
#1FA878
secondary
#C65D82
accent
#3C7AEC
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A130E
muted
#7C827E

Preview Lab

Preview with #1FA878

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

Preview Lab → · Contrast checker → · Palette generator →

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