#1F7658#1F7658

#1F7658 is a mid, moderate teal. Relative luminance 0.140; OKLCH L 50.7% C 0.094 H 165.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1F7658
RGBrgb(31, 118, 88)
HSLhsl(159, 58%, 29%)
HSVhsv(159, 74%, 46%)
CMYKcmyk(73.7%, 0%, 25.4%, 53.7%)
CIE-LABlab(44.16, -33.10, 9.30)
CIE-LCHlch(44.16, 34.38, 164.30°)
OKLaboklab(50.7% -0.0913 0.0238)
OKLCHoklch(50.7% 0.094 165.4)
XYZxyz(8.8040, 13.9517, 11.4596)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7658 #761F3D
analogous
#1F762D #1F7658 #1F6976
triadic
#1F7658 #581F76 #76581F
tetradic
#1F7658 #2D1F76 #761F3D #69761F
square
#1F7658 #2D1F76 #761F3D #69761F
split-complementary
#1F7658 #761F69 #762D1F
monochromatic
#061812 #124634 #1F7658 #2CA67C #42CD9D

Accessibility & contrast

On white

5.54
#1F7658 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#1F7658 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7658
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7658#FFFFFF#000000##FFFFFF
##1F76581.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736D56
Deuteranopia (green-blind)
#68655A
Tritanopia (blue-blind)
#00766E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f7658;
/* rgb */ color: rgb(31, 118, 88);
/* oklch */ color: oklch(50.7% 0.094 165.4);
Tailwind
colors: {
  custom: {
    50: '#689e87',
    500: '#1f7658',
    950: '#000000',
  },
}
SCSS
$custom: #1f7658;
$custom-light: #689e87;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7658",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 88
  },
  "hsl": {
    "h": 159.31,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.09432,
    "h": 165.4
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#1F7658
secondary
#AA4769
accent
#467CE2
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #1F7658

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

Preview Lab → · Contrast checker → · Palette generator →

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