#1F674F#1F674F

#1F674F is a mid, moderate teal. Relative luminance 0.106; OKLCH L 46.3% C 0.081 H 166.9°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#1F674F
RGBrgb(31, 103, 79)
HSLhsl(160, 54%, 26%)
HSVhsv(160, 70%, 40%)
CMYKcmyk(69.9%, 0%, 23.3%, 59.6%)
CIE-LABlab(38.82, -28.47, 7.16)
CIE-LCHlch(38.82, 29.36, 165.88°)
OKLaboklab(46.25% -0.079 0.0183)
OKLCHoklch(46.25% 0.081 166.9)
XYZxyz(6.8259, 10.5556, 9.0733)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F674F #671F37
analogous
#1F672B #1F674F #1F5B67
triadic
#1F674F #4F1F67 #674F1F
tetradic
#1F674F #2B1F67 #671F37 #5B671F
square
#1F674F #2B1F67 #671F37 #5B671F
split-complementary
#1F674F #671F5B #672B1F
monochromatic
#071812 #11382B #1F674F #2D9673 #3CC497

Accessibility & contrast

On white

6.75
#1F674F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F674F
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F674F#FFFFFF#000000##FFFFFF
##1F674F1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f674f;
/* rgb */ color: rgb(31, 103, 79);
/* oklch */ color: oklch(46.3% 0.081 166.9);
Tailwind
colors: {
  custom: {
    50: '#659380',
    500: '#1f674f',
    950: '#000000',
  },
}
SCSS
$custom: #1f674f;
$custom-light: #659380;
$custom-dark: #000000;
JSON
{
  "hex": "#1f674f",
  "rgb": {
    "r": 31,
    "g": 103,
    "b": 79
  },
  "hsl": {
    "h": 160,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46253,
    "c": 0.0811,
    "h": 166.9
  },
  "luminance": 0.10556
}

Semantic roles & 50–950 ramp

primary
#1F674F
secondary
#9B4663
accent
#4B7BDD
background
#F6F9F7
surface
#EBF1EE
border
#C6CBC9
text
#060D0A
muted
#7A7E7C

Preview Lab

Preview with #1F674F

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

Preview Lab → · Contrast checker → · Palette generator →

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