#1F7D5E#1F7D5E

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

Color values

HEX#1F7D5E
RGBrgb(31, 125, 94)
HSLhsl(160, 60%, 31%)
HSVhsv(160, 75%, 49%)
CMYKcmyk(75.2%, 0%, 24.8%, 51%)
CIE-LABlab(46.67, -34.71, 9.29)
CIE-LCHlch(46.67, 35.93, 165.02°)
OKLaboklab(52.8% -0.0958 0.0237)
OKLCHoklch(52.8% 0.099 166.1)
XYZxyz(9.9180, 15.7655, 13.1079)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D5E #7D1F3E
analogous
#1F7D2F #1F7D5E #1F6D7D
triadic
#1F7D5E #5E1F7D #7D5E1F
tetradic
#1F7D5E #2F1F7D #7D1F3E #6D7D1F
square
#1F7D5E #2F1F7D #7D1F3E #6D7D1F
split-complementary
#1F7D5E #7D1F6D #7D2F1F
monochromatic
#071B14 #134C39 #1F7D5E #2BAE83 #45D1A3

Accessibility & contrast

On white

5.06
#1F7D5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#1F7D5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D5E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D5E#FFFFFF#000000##FFFFFF
##1F7D5E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745C
Deuteranopia (green-blind)
#6E6B60
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7d5e;
/* rgb */ color: rgb(31, 125, 94);
/* oklch */ color: oklch(52.8% 0.099 166.1);
Tailwind
colors: {
  custom: {
    50: '#6aa38b',
    500: '#1f7d5e',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d5e;
$custom-light: #6aa38b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d5e",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 94
  },
  "hsl": {
    "h": 160.213,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52801,
    "c": 0.09875,
    "h": 166.1
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#1F7D5E
secondary
#B0486A
accent
#4479E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #1F7D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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