#1F8A70#1F8A70

#1F8A70 is a mid, moderate teal. Relative luminance 0.196; OKLCH L 56.8% C 0.102 H 172.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#1F8A70
RGBrgb(31, 138, 112)
HSLhsl(165, 63%, 33%)
HSVhsv(165, 78%, 54%)
CMYKcmyk(77.5%, 0%, 18.8%, 45.9%)
CIE-LABlab(51.42, -35.83, 5.57)
CIE-LCHlch(51.42, 36.26, 171.17°)
OKLaboklab(56.85% -0.1006 0.0142)
OKLCHoklch(56.85% 0.102 172)
XYZxyz(12.5766, 19.6366, 18.4535)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A70 #8A1F39
analogous
#1F8A3B #1F8A70 #1F6E8A
triadic
#1F8A70 #701F8A #8A701F
tetradic
#1F8A70 #3B1F8A #8A1F39 #6E8A1F
square
#1F8A70 #3B1F8A #8A1F39 #6E8A1F
split-complementary
#1F8A70 #8A1F6E #8A3B1F
monochromatic
#09261F #145847 #1F8A70 #2ABC99 #4CD7B5

Accessibility & contrast

On white

4.26
#1F8A70 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#1F8A70 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A70
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A70#FFFFFF#000000##000000
##1F8A701.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85806F
Deuteranopia (green-blind)
#787672
Tritanopia (blue-blind)
#008B82
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8a70;
/* rgb */ color: rgb(31, 138, 112);
/* oklch */ color: oklch(56.8% 0.102 172.0);
Tailwind
colors: {
  custom: {
    50: '#6dad99',
    500: '#1f8a70',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a70;
$custom-light: #6dad99;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a70",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 112
  },
  "hsl": {
    "h": 165.421,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56849,
    "c": 0.10158,
    "h": 172
  },
  "luminance": 0.19638
}

Semantic roles & 50–950 ramp

primary
#1F8A70
secondary
#BA4B66
accent
#416AE6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #1F8A70

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

Preview Lab → · Contrast checker → · Palette generator →

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