#1F8162#1F8162

#1F8162 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.0% C 0.101 H 166.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#1F8162
RGBrgb(31, 129, 98)
HSLhsl(161, 61%, 31%)
HSVhsv(161, 76%, 51%)
CMYKcmyk(76%, 0%, 24%, 49.4%)
CIE-LABlab(48.10, -35.47, 8.97)
CIE-LCHlch(48.10, 36.59, 165.81°)
OKLaboklab(54.01% -0.0981 0.0229)
OKLCHoklch(54.01% 0.101 166.8)
XYZxyz(10.6187, 16.8724, 14.2500)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8162 #811F3E
analogous
#1F8131 #1F8162 #1F6F81
triadic
#1F8162 #621F81 #81621F
tetradic
#1F8162 #311F81 #811F3E #6F811F
square
#1F8162 #311F81 #811F3E #6F811F
split-complementary
#1F8162 #811F6F #81311F
monochromatic
#071E17 #13503D #1F8162 #2BB287 #47D3A7

Accessibility & contrast

On white

4.80
#1F8162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#1F8162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8162
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8162#FFFFFF#000000##FFFFFF
##1F81621.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7860
Deuteranopia (green-blind)
#716E64
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8162;
/* rgb */ color: rgb(31, 129, 98);
/* oklch */ color: oklch(54.0% 0.101 166.8);
Tailwind
colors: {
  custom: {
    50: '#6ba68e',
    500: '#1f8162',
    950: '#000000',
  },
}
SCSS
$custom: #1f8162;
$custom-light: #6ba68e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8162",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 98
  },
  "hsl": {
    "h": 161.02,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54009,
    "c": 0.10075,
    "h": 166.8
  },
  "luminance": 0.16874
}

Semantic roles & 50–950 ramp

primary
#1F8162
secondary
#B4486A
accent
#4376E4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #1F8162

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

Preview Lab → · Contrast checker → · Palette generator →

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