#1F816D#1F816D

#1F816D is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.3% C 0.093 H 175.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#1F816D
RGBrgb(31, 129, 109)
HSLhsl(168, 61%, 31%)
HSVhsv(168, 76%, 51%)
CMYKcmyk(76%, 0%, 15.5%, 49.4%)
CIE-LABlab(48.38, -32.55, 2.93)
CIE-LCHlch(48.38, 32.69, 174.85°)
OKLaboklab(54.33% -0.0925 0.0073)
OKLCHoklch(54.33% 0.093 175.5)
XYZxyz(11.1742, 17.0946, 17.1757)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F816D #811F33
analogous
#1F813C #1F816D #1F6481
triadic
#1F816D #6D1F81 #816D1F
tetradic
#1F816D #3C1F81 #811F33 #64811F
square
#1F816D #3C1F81 #811F33 #64811F
split-complementary
#1F816D #811F64 #813C1F
monochromatic
#071E1A #135043 #1F816D #2BB297 #47D3B6

Accessibility & contrast

On white

4.75
#1F816D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#1F816D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F816D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F816D#FFFFFF#000000##FFFFFF
##1F816D1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C786C
Deuteranopia (green-blind)
#6F6F6E
Tritanopia (blue-blind)
#00837B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f816d;
/* rgb */ color: rgb(31, 129, 109);
/* oklch */ color: oklch(54.3% 0.093 175.5);
Tailwind
colors: {
  custom: {
    50: '#6ba696',
    500: '#1f816d',
    950: '#000000',
  },
}
SCSS
$custom: #1f816d;
$custom-light: #6ba696;
$custom-dark: #000000;
JSON
{
  "hex": "#1f816d",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 109
  },
  "hsl": {
    "h": 167.755,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.09283,
    "h": 175.5
  },
  "luminance": 0.17096
}

Semantic roles & 50–950 ramp

primary
#1F816D
secondary
#B4485E
accent
#4364E4
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #1F816D

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

Preview Lab → · Contrast checker → · Palette generator →

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