#1F7362#1F7362

#1F7362 is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.2% C 0.083 H 176.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#1F7362
RGBrgb(31, 115, 98)
HSLhsl(168, 58%, 29%)
HSVhsv(168, 73%, 45%)
CMYKcmyk(73%, 0%, 14.8%, 54.9%)
CIE-LABlab(43.41, -29.03, 2.27)
CIE-LCHlch(43.41, 29.12, 175.53°)
OKLaboklab(50.17% -0.0828 0.0056)
OKLCHoklch(50.17% 0.083 176.2)
XYZxyz(8.8993, 13.4336, 13.6768)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7362 #731F30
analogous
#1F7338 #1F7362 #1F5A73
triadic
#1F7362 #621F73 #73621F
tetradic
#1F7362 #381F73 #731F30 #5A731F
square
#1F7362 #381F73 #731F30 #5A731F
split-complementary
#1F7362 #731F5A #73381F
monochromatic
#061815 #124339 #1F7362 #2CA38B #41CCB0

Accessibility & contrast

On white

5.70
#1F7362 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#1F7362 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7362
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7362#FFFFFF#000000##FFFFFF
##1F73621.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6B61
Deuteranopia (green-blind)
#636363
Tritanopia (blue-blind)
#00756E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7362;
/* rgb */ color: rgb(31, 115, 98);
/* oklch */ color: oklch(50.2% 0.083 176.2);
Tailwind
colors: {
  custom: {
    50: '#689c8e',
    500: '#1f7362',
    950: '#000000',
  },
}
SCSS
$custom: #1f7362;
$custom-light: #689c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7362",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 98
  },
  "hsl": {
    "h": 167.857,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5017,
    "c": 0.08299,
    "h": 176.2
  },
  "luminance": 0.13435
}

Semantic roles & 50–950 ramp

primary
#1F7362
secondary
#A7475A
accent
#4766E1
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #1F7362

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

Preview Lab → · Contrast checker → · Palette generator →

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