#1F8271#1F8271

#1F8271 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.7% C 0.092 H 178.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1F8271
RGBrgb(31, 130, 113)
HSLhsl(170, 61%, 32%)
HSVhsv(170, 76%, 51%)
CMYKcmyk(76.2%, 0%, 13.1%, 49%)
CIE-LABlab(48.82, -31.90, 1.22)
CIE-LCHlch(48.82, 31.92, 177.80°)
OKLaboklab(54.73% -0.0916 0.0027)
OKLCHoklch(54.73% 0.092 178.3)
XYZxyz(11.5269, 17.4474, 18.3798)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8271 #821F30
analogous
#1F8240 #1F8271 #1F6282
triadic
#1F8271 #711F82 #82711F
tetradic
#1F8271 #401F82 #821F30 #62821F
square
#1F8271 #401F82 #821F30 #62821F
split-complementary
#1F8271 #821F62 #82401F
monochromatic
#071F1B #135146 #1F8271 #2BB39C #48D3BB

Accessibility & contrast

On white

4.68
#1F8271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1F8271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8271
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8271#FFFFFF#000000##FFFFFF
##1F82711.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7A70
Deuteranopia (green-blind)
#6F7072
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8271;
/* rgb */ color: rgb(31, 130, 113);
/* oklch */ color: oklch(54.7% 0.092 178.3);
Tailwind
colors: {
  custom: {
    50: '#6ca799',
    500: '#1f8271',
    950: '#000000',
  },
}
SCSS
$custom: #1f8271;
$custom-light: #6ca799;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8271",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 169.697,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54727,
    "c": 0.09164,
    "h": 178.3
  },
  "luminance": 0.17449
}

Semantic roles & 50–950 ramp

primary
#1F8271
secondary
#B5485B
accent
#435FE5
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1F8271

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

Preview Lab → · Contrast checker → · Palette generator →

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