#1F674E#1F674E

#1F674E is a mid, moderate teal. Relative luminance 0.105; OKLCH L 46.2% C 0.082 H 166.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#1F674E
RGBrgb(31, 103, 78)
HSLhsl(159, 54%, 26%)
HSVhsv(159, 70%, 40%)
CMYKcmyk(69.9%, 0%, 24.3%, 59.6%)
CIE-LABlab(38.80, -28.73, 7.73)
CIE-LCHlch(38.80, 29.75, 164.93°)
OKLaboklab(46.23% -0.0795 0.0198)
OKLCHoklch(46.23% 0.082 166)
XYZxyz(6.7897, 10.5411, 8.8831)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F674E #671F38
analogous
#1F672A #1F674E #1F5C67
triadic
#1F674E #4E1F67 #674E1F
tetradic
#1F674E #2A1F67 #671F38 #5C671F
square
#1F674E #2A1F67 #671F38 #5C671F
split-complementary
#1F674E #671F5C #672A1F
monochromatic
#071812 #11382A #1F674E #2D9672 #3CC495

Accessibility & contrast

On white

6.76
#1F674E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#1F674E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F674E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F674E#FFFFFF#000000##FFFFFF
##1F674E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65604D
Deuteranopia (green-blind)
#5B5850
Tritanopia (blue-blind)
#006760
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1f674e;
/* rgb */ color: rgb(31, 103, 78);
/* oklch */ color: oklch(46.2% 0.082 166.0);
Tailwind
colors: {
  custom: {
    50: '#65937f',
    500: '#1f674e',
    950: '#000000',
  },
}
SCSS
$custom: #1f674e;
$custom-light: #65937f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f674e",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 78
  },
  "hsl": {
    "h": 159.167,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46225,
    "c": 0.08195,
    "h": 166
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

primary
#1F674E
secondary
#9B4664
accent
#4B7EDD
background
#F6F9F7
surface
#EBF1EE
border
#C6CBC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #1F674E

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

Preview Lab → · Contrast checker → · Palette generator →

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