#1F8A72#1F8A72

#1F8A72 is a mid, moderate teal. Relative luminance 0.197; OKLCH L 56.9% C 0.100 H 173.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#1F8A72
RGBrgb(31, 138, 114)
HSLhsl(167, 63%, 33%)
HSVhsv(167, 78%, 54%)
CMYKcmyk(77.5%, 0%, 17.4%, 45.9%)
CIE-LABlab(51.48, -35.30, 4.48)
CIE-LCHlch(51.48, 35.58, 172.76°)
OKLaboklab(56.91% -0.0996 0.0113)
OKLCHoklch(56.91% 0.1 173.5)
XYZxyz(12.6892, 19.6816, 19.0465)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A72 #8A1F37
analogous
#1F8A3C #1F8A72 #1F6C8A
triadic
#1F8A72 #721F8A #8A721F
tetradic
#1F8A72 #3C1F8A #8A1F37 #6C8A1F
square
#1F8A72 #3C1F8A #8A1F37 #6C8A1F
split-complementary
#1F8A72 #8A1F6C #8A3C1F
monochromatic
#09261F #145849 #1F8A72 #2ABC9B #4CD7B8

Accessibility & contrast

On white

4.25
#1F8A72 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#1F8A72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A72
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A72#FFFFFF#000000##000000
##1F8A721.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#858171
Deuteranopia (green-blind)
#777674
Tritanopia (blue-blind)
#008C83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #1f8a72;
/* rgb */ color: rgb(31, 138, 114);
/* oklch */ color: oklch(56.9% 0.100 173.5);
Tailwind
colors: {
  custom: {
    50: '#6dad9a',
    500: '#1f8a72',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a72;
$custom-light: #6dad9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a72",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 114
  },
  "hsl": {
    "h": 166.542,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56908,
    "c": 0.10023,
    "h": 173.5
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#1F8A72
secondary
#BA4B64
accent
#4166E6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #1F8A72

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

Preview Lab → · Contrast checker → · Palette generator →

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