#127271#127271

#127271 is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.2% C 0.081 H 193.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#127271
RGBrgb(18, 114, 113)
HSLhsl(179, 73%, 26%)
HSVhsv(179, 84%, 45%)
CMYKcmyk(84.2%, 0%, 0.9%, 55.3%)
CIE-LABlab(43.29, -25.62, -6.94)
CIE-LCHlch(43.29, 26.54, 195.17°)
OKLaboklab(50.16% -0.0791 -0.0193)
OKLCHoklch(50.16% 0.081 193.8)
XYZxyz(9.2460, 13.3543, 17.7099)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127271 #721213
analogous
#127241 #127271 #124372
triadic
#127271 #711272 #727112
tetradic
#127271 #411272 #721213 #437212
square
#127271 #411272 #721213 #437212
split-complementary
#127271 #721243 #724112
monochromatic
#041A1A #0A3D3D #127271 #1AA7A5 #23DCDA

Accessibility & contrast

On white

5.72
#127271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#127271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127271
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127271#FFFFFF#000000##FFFFFF
##1272711.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C71
Deuteranopia (green-blind)
#5D6272
Tritanopia (blue-blind)
#007671
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #127271;
/* rgb */ color: rgb(18, 114, 113);
/* oklch */ color: oklch(50.2% 0.081 193.8);
Tailwind
colors: {
  custom: {
    50: '#659b99',
    500: '#127271',
    950: '#000000',
  },
}
SCSS
$custom: #127271;
$custom-light: #659b99;
$custom-dark: #000000;
JSON
{
  "hex": "#127271",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.08139,
    "h": 193.8
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#127271
secondary
#A93738
accent
#383AEF
background
#F6F9F9
surface
#EBF2F2
border
#C6CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #127271

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

Preview Lab → · Contrast checker → · Palette generator →

#127271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva