#1FA172#1FA172

#1FA172 is a light, vivid teal. Relative luminance 0.270; OKLCH L 63.1% C 0.129 H 162.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#1FA172
RGBrgb(31, 161, 114)
HSLhsl(158, 68%, 38%)
HSVhsv(158, 81%, 63%)
CMYKcmyk(80.7%, 0%, 29.2%, 36.9%)
CIE-LABlab(58.97, -45.09, 15.07)
CIE-LCHlch(58.97, 47.54, 161.52°)
OKLaboklab(63.06% -0.1231 0.0383)
OKLCHoklch(63.06% 0.129 162.7)
XYZxyz(16.3454, 26.9939, 20.2652)
Luminance0.2700 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1FA172 #A11F4E
analogous
#1FA131 #1FA172 #1F8FA1
triadic
#1FA172 #721FA1 #A1721F
tetradic
#1FA172 #311FA1 #A11F4E #8FA11F
square
#1FA172 #311FA1 #A11F4E #8FA11F
split-complementary
#1FA172 #A11F8F #A1311F
monochromatic
#0B3A29 #156E4E #1FA172 #29D496 #5BDFB0

Accessibility & contrast

On white

3.28
#1FA172 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#1FA172 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1FA172
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1FA172#FFFFFF#000000##000000
##1FA1721.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E956F
Deuteranopia (green-blind)
#8F8975
Tritanopia (blue-blind)
#00A194
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #1fa172;
/* rgb */ color: rgb(31, 161, 114);
/* oklch */ color: oklch(63.1% 0.129 162.7);
Tailwind
colors: {
  custom: {
    50: '#72be9a',
    500: '#1fa172',
    950: '#000000',
  },
}
SCSS
$custom: #1fa172;
$custom-light: #72be9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1fa172",
  "rgb": {
    "r": 31,
    "g": 161,
    "b": 114
  },
  "hsl": {
    "h": 158.308,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63061,
    "c": 0.12897,
    "h": 162.7
  },
  "luminance": 0.26996
}

Semantic roles & 50–950 ramp

primary
#1FA172
secondary
#C4587F
accent
#3D7CEB
background
#F7FBF9
surface
#EDF7F2
border
#C8D0CC
text
#09120E
muted
#7B817E

Preview Lab

Preview with #1FA172

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

Preview Lab → · Contrast checker → · Palette generator →

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