#1F7C5F#1F7C5F

#1F7C5F is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.6% C 0.097 H 167.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#1F7C5F
RGBrgb(31, 124, 95)
HSLhsl(161, 60%, 30%)
HSVhsv(161, 75%, 49%)
CMYKcmyk(75%, 0%, 23.4%, 51.4%)
CIE-LABlab(46.35, -34.01, 8.26)
CIE-LCHlch(46.35, 35.00, 166.34°)
OKLaboklab(52.55% -0.0942 0.0211)
OKLCHoklch(52.55% 0.097 167.4)
XYZxyz(9.8372, 15.5317, 13.3037)
Luminance0.1553 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C5F #7C1F3C
analogous
#1F7C30 #1F7C5F #1F6A7C
triadic
#1F7C5F #5F1F7C #7C5F1F
tetradic
#1F7C5F #301F7C #7C1F3C #6A7C1F
square
#1F7C5F #301F7C #7C1F3C #6A7C1F
split-complementary
#1F7C5F #7C1F6A #7C301F
monochromatic
#071A14 #134B39 #1F7C5F #2BAD85 #45D0A5

Accessibility & contrast

On white

5.11
#1F7C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1F7C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C5F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C5F#FFFFFF#000000##FFFFFF
##1F7C5F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735D
Deuteranopia (green-blind)
#6D6A61
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7c5f;
/* rgb */ color: rgb(31, 124, 95);
/* oklch */ color: oklch(52.6% 0.097 167.4);
Tailwind
colors: {
  custom: {
    50: '#69a28c',
    500: '#1f7c5f',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c5f;
$custom-light: #69a28c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c5f",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 95
  },
  "hsl": {
    "h": 161.29,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52554,
    "c": 0.09659,
    "h": 167.4
  },
  "luminance": 0.15533
}

Semantic roles & 50–950 ramp

primary
#1F7C5F
secondary
#AF4868
accent
#4576E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #1F7C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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