#1B8271#1B8271

#1B8271 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.6% C 0.093 H 178.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#1B8271
RGBrgb(27, 130, 113)
HSLhsl(170, 66%, 31%)
HSVhsv(170, 79%, 51%)
CMYKcmyk(79.2%, 0%, 13.1%, 49%)
CIE-LABlab(48.75, -32.40, 1.11)
CIE-LCHlch(48.75, 32.42, 178.04°)
OKLaboklab(54.65% -0.0931 0.0024)
OKLCHoklch(54.65% 0.093 178.5)
XYZxyz(11.4138, 17.3891, 18.3745)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B8271 #821B2C
analogous
#1B823D #1B8271 #1B5F82
triadic
#1B8271 #711B82 #82711B
tetradic
#1B8271 #3D1B82 #821B2C #5F821B
square
#1B8271 #3D1B82 #821B2C #5F821B
split-complementary
#1B8271 #821B5F #823D1B
monochromatic
#061D19 #104F45 #1B8271 #26B59D #40D7BE

Accessibility & contrast

On white

4.69
#1B8271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#1B8271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B8271
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B8271#FFFFFF#000000##FFFFFF
##1B82711.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.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: #1b8271;
/* rgb */ color: rgb(27, 130, 113);
/* oklch */ color: oklch(54.6% 0.093 178.5);
Tailwind
colors: {
  custom: {
    50: '#6aa799',
    500: '#1b8271',
    950: '#000000',
  },
}
SCSS
$custom: #1b8271;
$custom-light: #6aa799;
$custom-dark: #000000;
JSON
{
  "hex": "#1b8271",
  "rgb": {
    "r": 27,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 170.097,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54647,
    "c": 0.09309,
    "h": 178.5
  },
  "luminance": 0.17391
}

Semantic roles & 50–950 ramp

primary
#1B8271
secondary
#B64356
accent
#3F5BE9
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1B8271

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

Preview Lab → · Contrast checker → · Palette generator →

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