#1F7D5F#1F7D5F

#1F7D5F is a mid, moderate teal. Relative luminance 0.158; OKLCH L 52.8% C 0.098 H 166.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#1F7D5F
RGBrgb(31, 125, 95)
HSLhsl(161, 60%, 31%)
HSVhsv(161, 75%, 49%)
CMYKcmyk(75.2%, 0%, 24%, 51%)
CIE-LABlab(46.69, -34.46, 8.74)
CIE-LCHlch(46.69, 35.55, 165.77°)
OKLaboklab(52.83% -0.0953 0.0223)
OKLCHoklch(52.83% 0.098 166.8)
XYZxyz(9.9631, 15.7836, 13.3457)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D5F #7D1F3D
analogous
#1F7D30 #1F7D5F #1F6C7D
triadic
#1F7D5F #5F1F7D #7D5F1F
tetradic
#1F7D5F #301F7D #7D1F3D #6C7D1F
square
#1F7D5F #301F7D #7D1F3D #6C7D1F
split-complementary
#1F7D5F #7D1F6C #7D301F
monochromatic
#071B14 #134C3A #1F7D5F #2BAE84 #45D1A4

Accessibility & contrast

On white

5.05
#1F7D5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#1F7D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D5F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D5F#FFFFFF#000000##FFFFFF
##1F7D5F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745D
Deuteranopia (green-blind)
#6E6B61
Tritanopia (blue-blind)
#007D75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7d5f;
/* rgb */ color: rgb(31, 125, 95);
/* oklch */ color: oklch(52.8% 0.098 166.8);
Tailwind
colors: {
  custom: {
    50: '#6aa38c',
    500: '#1f7d5f',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d5f;
$custom-light: #6aa38c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d5f",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 95
  },
  "hsl": {
    "h": 160.851,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52829,
    "c": 0.09791,
    "h": 166.8
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#1F7D5F
secondary
#B04869
accent
#4477E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #1F7D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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