#127E8A#127E8A

#127E8A is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.4% C 0.089 H 207.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#127E8A
RGBrgb(18, 126, 138)
HSLhsl(186, 77%, 31%)
HSVhsv(186, 87%, 54%)
CMYKcmyk(87%, 8.7%, 0%, 45.9%)
CIE-LABlab(48.11, -23.47, -14.57)
CIE-LCHlch(48.11, 27.63, 211.82°)
OKLaboklab(54.36% -0.0797 -0.0406)
OKLCHoklch(54.36% 0.089 207)
XYZxyz(12.2957, 16.8837, 26.6507)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E8A #8A1E12
analogous
#128A5A #127E8A #12428A
triadic
#127E8A #8A127E #7E8A12
tetradic
#127E8A #5A128A #8A1E12 #428A12
square
#127E8A #5A128A #8A1E12 #428A12
split-complementary
#127E8A #8A1242 #8A5A12
monochromatic
#041B1E #0B4D54 #127E8A #19AFC0 #32D2E4

Accessibility & contrast

On white

4.80
#127E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#127E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127E8A#FFFFFF#000000##FFFFFF
##127E8A1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72798B
Deuteranopia (green-blind)
#636D8A
Tritanopia (blue-blind)
#008482
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #127e8a;
/* rgb */ color: rgb(18, 126, 138);
/* oklch */ color: oklch(54.4% 0.089 207.0);
Tailwind
colors: {
  custom: {
    50: '#6aa3ac',
    500: '#127e8a',
    950: '#000000',
  },
}
SCSS
$custom: #127e8a;
$custom-light: #6aa3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#127e8a",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 186,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54361,
    "c": 0.08943,
    "h": 207
  },
  "luminance": 0.16885
}

Semantic roles & 50–950 ramp

primary
#127E8A
secondary
#BF4739
accent
#4734F3
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #127E8A

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

Preview Lab → · Contrast checker → · Palette generator →

#127E8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva