#1F6A5F#1F6A5F

#1F6A5F is a mid, moderate teal. Relative luminance 0.114; OKLCH L 47.6% C 0.074 H 181.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#1F6A5F
RGBrgb(31, 106, 95)
HSLhsl(171, 55%, 27%)
HSVhsv(171, 71%, 42%)
CMYKcmyk(70.8%, 0%, 10.4%, 58.4%)
CIE-LABlab(40.29, -25.49, -0.46)
CIE-LCHlch(40.29, 25.49, 181.05°)
OKLaboklab(47.6% -0.0742 -0.0017)
OKLCHoklch(47.6% 0.074 181.3)
XYZxyz(7.7837, 11.4247, 12.6192)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6A5F #6A1F2A
analogous
#1F6A3A #1F6A5F #1F506A
triadic
#1F6A5F #5F1F6A #6A5F1F
tetradic
#1F6A5F #3A1F6A #6A1F2A #506A1F
square
#1F6A5F #3A1F6A #6A1F2A #506A1F
split-complementary
#1F6A5F #6A1F50 #6A3A1F
monochromatic
#071815 #113B35 #1F6A5F #2D9989 #3DC6B2

Accessibility & contrast

On white

6.39
#1F6A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#1F6A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6A5F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6A5F#FFFFFF#000000##FFFFFF
##1F6A5F1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65645F
Deuteranopia (green-blind)
#5A5C60
Tritanopia (blue-blind)
#006C67
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #1f6a5f;
/* rgb */ color: rgb(31, 106, 95);
/* oklch */ color: oklch(47.6% 0.074 181.3);
Tailwind
colors: {
  custom: {
    50: '#66958c',
    500: '#1f6a5f',
    950: '#000000',
  },
}
SCSS
$custom: #1f6a5f;
$custom-light: #66958c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6a5f",
  "rgb": {
    "r": 31,
    "g": 106,
    "b": 95
  },
  "hsl": {
    "h": 171.2,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47595,
    "c": 0.07418,
    "h": 181.3
  },
  "luminance": 0.11426
}

Semantic roles & 50–950 ramp

primary
#1F6A5F
secondary
#9E4753
accent
#4A5FDE
background
#F6F9F8
surface
#EBF1F0
border
#C6CBCB
text
#060D0C
muted
#7A7E7D

Preview Lab

Preview with #1F6A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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