#1A8271#1A8271

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

Color values

HEX#1A8271
RGBrgb(26, 130, 113)
HSLhsl(170, 67%, 31%)
HSVhsv(170, 80%, 51%)
CMYKcmyk(80%, 0%, 13.1%, 49%)
CIE-LABlab(48.73, -32.52, 1.08)
CIE-LCHlch(48.73, 32.53, 178.09°)
OKLaboklab(54.63% -0.0934 0.0024)
OKLCHoklch(54.63% 0.093 178.6)
XYZxyz(11.3878, 17.3757, 18.3733)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A8271 #821A2B
analogous
#1A823D #1A8271 #1A5F82
triadic
#1A8271 #711A82 #82711A
tetradic
#1A8271 #3D1A82 #821A2B #5F821A
square
#1A8271 #3D1A82 #821A2B #5F821A
split-complementary
#1A8271 #821A5F #823D1A
monochromatic
#061C18 #104F45 #1A8271 #24B59D #3ED8BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A8271#FFFFFF#000000##FFFFFF
##1A82711.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: #1a8271;
/* rgb */ color: rgb(26, 130, 113);
/* oklch */ color: oklch(54.6% 0.093 178.6);
Tailwind
colors: {
  custom: {
    50: '#6aa799',
    500: '#1a8271',
    950: '#000000',
  },
}
SCSS
$custom: #1a8271;
$custom-light: #6aa799;
$custom-dark: #000000;
JSON
{
  "hex": "#1a8271",
  "rgb": {
    "r": 26,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 170.192,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.09343,
    "h": 178.6
  },
  "luminance": 0.17377
}

Semantic roles & 50–950 ramp

primary
#1A8271
secondary
#B64255
accent
#3E5AEA
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #1A8271

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

Preview Lab → · Contrast checker → · Palette generator →

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