#1F7C63#1F7C63

#1F7C63 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.7% C 0.093 H 170.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1F7C63
RGBrgb(31, 124, 99)
HSLhsl(164, 60%, 30%)
HSVhsv(164, 75%, 49%)
CMYKcmyk(75%, 0%, 20.2%, 51.4%)
CIE-LABlab(46.45, -32.97, 6.05)
CIE-LCHlch(46.45, 33.52, 169.60°)
OKLaboklab(52.67% -0.0922 0.0154)
OKLCHoklch(52.67% 0.093 170.5)
XYZxyz(10.0237, 15.6063, 14.2860)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7C63 #7C1F38
analogous
#1F7C34 #1F7C63 #1F667C
triadic
#1F7C63 #631F7C #7C631F
tetradic
#1F7C63 #341F7C #7C1F38 #667C1F
square
#1F7C63 #341F7C #7C1F38 #667C1F
split-complementary
#1F7C63 #7C1F66 #7C341F
monochromatic
#071A15 #134B3C #1F7C63 #2BAD8A #45D0AB

Accessibility & contrast

On white

5.10
#1F7C63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1F7C63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7C63
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7C63#FFFFFF#000000##FFFFFF
##1F7C631.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787362
Deuteranopia (green-blind)
#6C6A65
Tritanopia (blue-blind)
#007D75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1f7c63;
/* rgb */ color: rgb(31, 124, 99);
/* oklch */ color: oklch(52.7% 0.093 170.5);
Tailwind
colors: {
  custom: {
    50: '#6aa28f',
    500: '#1f7c63',
    950: '#000000',
  },
}
SCSS
$custom: #1f7c63;
$custom-light: #6aa28f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7c63",
  "rgb": {
    "r": 31,
    "g": 124,
    "b": 99
  },
  "hsl": {
    "h": 163.871,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52669,
    "c": 0.09348,
    "h": 170.5
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#1F7C63
secondary
#AF4863
accent
#456FE3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #1F7C63

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

Preview Lab → · Contrast checker → · Palette generator →

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