#1F8A7F#1F8A7F

#1F8A7F is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.3% C 0.093 H 184.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#1F8A7F
RGBrgb(31, 138, 127)
HSLhsl(174, 63%, 33%)
HSVhsv(174, 78%, 54%)
CMYKcmyk(77.5%, 0%, 8%, 45.9%)
CIE-LABlab(51.84, -31.63, -2.54)
CIE-LCHlch(51.84, 31.73, 184.59°)
OKLaboklab(57.32% -0.0932 -0.0074)
OKLCHoklch(57.32% 0.093 184.5)
XYZxyz(13.4825, 19.9989, 23.2242)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A7F #8A1F2A
analogous
#1F8A49 #1F8A7F #1F5F8A
triadic
#1F8A7F #7F1F8A #8A7F1F
tetradic
#1F8A7F #491F8A #8A1F2A #5F8A1F
square
#1F8A7F #491F8A #8A1F2A #5F8A1F
split-complementary
#1F8A7F #8A1F5F #8A491F
monochromatic
#092623 #145851 #1F8A7F #2ABCAD #4CD7C9

Accessibility & contrast

On white

4.20
#1F8A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#1F8A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A7F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A7F#FFFFFF#000000##000000
##1F8A7F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83827F
Deuteranopia (green-blind)
#747780
Tritanopia (blue-blind)
#008D86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f8a7f;
/* rgb */ color: rgb(31, 138, 127);
/* oklch */ color: oklch(57.3% 0.093 184.5);
Tailwind
colors: {
  custom: {
    50: '#6eada4',
    500: '#1f8a7f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a7f;
$custom-light: #6eada4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a7f",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 127
  },
  "hsl": {
    "h": 173.832,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57322,
    "c": 0.09347,
    "h": 184.5
  },
  "luminance": 0.20001
}

Semantic roles & 50–950 ramp

primary
#1F8A7F
secondary
#BA4B57
accent
#4152E6
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #1F8A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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