#1F704D#1F704D

#1F704D is a mid, moderate teal. Relative luminance 0.124; OKLCH L 48.7% C 0.096 H 160.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#1F704D
RGBrgb(31, 112, 77)
HSLhsl(154, 57%, 28%)
HSVhsv(154, 72%, 44%)
CMYKcmyk(72.3%, 0%, 31.2%, 56.1%)
CIE-LABlab(41.87, -33.10, 12.62)
CIE-LCHlch(41.87, 35.42, 159.13°)
OKLaboklab(48.74% -0.0903 0.032)
OKLCHoklch(48.74% 0.096 160.5)
XYZxyz(7.6980, 12.4146, 9.0103)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F704D #701F42
analogous
#1F7024 #1F704D #1F6A70
triadic
#1F704D #4D1F70 #704D1F
tetradic
#1F704D #241F70 #701F42 #6A701F
square
#1F704D #241F70 #701F42 #6A701F
split-complementary
#1F704D #701F6A #70241F
monochromatic
#071810 #12402C #1F704D #2CA06E #3FCA8E

Accessibility & contrast

On white

6.03
#1F704D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#1F704D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F704D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F704D#FFFFFF#000000##FFFFFF
##1F704D1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E674B
Deuteranopia (green-blind)
#64604F
Tritanopia (blue-blind)
#007067
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1f704d;
/* rgb */ color: rgb(31, 112, 77);
/* oklch */ color: oklch(48.7% 0.096 160.5);
Tailwind
colors: {
  custom: {
    50: '#669a7f',
    500: '#1f704d',
    950: '#000000',
  },
}
SCSS
$custom: #1f704d;
$custom-light: #669a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f704d",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 77
  },
  "hsl": {
    "h": 154.074,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48735,
    "c": 0.09583,
    "h": 160.5
  },
  "luminance": 0.12415
}

Semantic roles & 50–950 ramp

primary
#1F704D
secondary
#A4476F
accent
#488AE0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #1F704D

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

Preview Lab → · Contrast checker → · Palette generator →

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