#1F7D5D#1F7D5D

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

Color values

HEX#1F7D5D
RGBrgb(31, 125, 93)
HSLhsl(160, 60%, 31%)
HSVhsv(160, 75%, 49%)
CMYKcmyk(75.2%, 0%, 25.6%, 51%)
CIE-LABlab(46.64, -34.97, 9.84)
CIE-LCHlch(46.64, 36.32, 164.28°)
OKLaboklab(52.77% -0.0964 0.0251)
OKLCHoklch(52.77% 0.1 165.4)
XYZxyz(9.8734, 15.7477, 12.8731)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D5D #7D1F3F
analogous
#1F7D2E #1F7D5D #1F6E7D
triadic
#1F7D5D #5D1F7D #7D5D1F
tetradic
#1F7D5D #2E1F7D #7D1F3F #6E7D1F
square
#1F7D5D #2E1F7D #7D1F3F #6E7D1F
split-complementary
#1F7D5D #7D1F6E #7D2E1F
monochromatic
#071B14 #134C39 #1F7D5D #2BAE81 #45D1A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7D5D#FFFFFF#000000##FFFFFF
##1F7D5D1.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)
#7A745B
Deuteranopia (green-blind)
#6E6B5F
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7d5d;
/* rgb */ color: rgb(31, 125, 93);
/* oklch */ color: oklch(52.8% 0.100 165.4);
Tailwind
colors: {
  custom: {
    50: '#6aa38b',
    500: '#1f7d5d',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d5d;
$custom-light: #6aa38b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d5d",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 93
  },
  "hsl": {
    "h": 159.574,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52774,
    "c": 0.09959,
    "h": 165.4
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#1F7D5D
secondary
#B0486B
accent
#447BE3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #1F7D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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