#1F837F#1F837F

#1F837F is a mid, moderate teal. Relative luminance 0.181; OKLCH L 55.5% C 0.087 H 190.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#1F837F
RGBrgb(31, 131, 127)
HSLhsl(178, 62%, 32%)
HSVhsv(178, 76%, 51%)
CMYKcmyk(76.3%, 0%, 3.1%, 48.6%)
CIE-LABlab(49.56, -28.26, -5.90)
CIE-LCHlch(49.56, 28.87, 191.79°)
OKLaboklab(55.47% -0.0858 -0.0165)
OKLCHoklch(55.47% 0.087 190.9)
XYZxyz(12.5103, 18.0547, 22.9001)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F837F #831F23
analogous
#1F834D #1F837F #1F5583
triadic
#1F837F #7F1F83 #837F1F
tetradic
#1F837F #4D1F83 #831F23 #55831F
square
#1F837F #4D1F83 #831F23 #55831F
split-complementary
#1F837F #831F55 #834D1F
monochromatic
#08201F #13524F #1F837F #2BB4AF #49D4CE

Accessibility & contrast

On white

4.55
#1F837F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#1F837F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F837F
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F837F#FFFFFF#000000##000000
##1F837F1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7C7F
Deuteranopia (green-blind)
#6D7180
Tritanopia (blue-blind)
#008782
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f837f;
/* rgb */ color: rgb(31, 131, 127);
/* oklch */ color: oklch(55.5% 0.087 190.9);
Tailwind
colors: {
  custom: {
    50: '#6da7a4',
    500: '#1f837f',
    950: '#000000',
  },
}
SCSS
$custom: #1f837f;
$custom-light: #6da7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1f837f",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 127
  },
  "hsl": {
    "h": 177.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55471,
    "c": 0.0874,
    "h": 190.9
  },
  "luminance": 0.18056
}

Semantic roles & 50–950 ramp

primary
#1F837F
secondary
#B6484C
accent
#4349E5
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #1F837F

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

Preview Lab → · Contrast checker → · Palette generator →

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