#127D8A#127D8A

#127D8A is a mid, moderate teal. Relative luminance 0.166; OKLCH L 54.1% C 0.089 H 208.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#127D8A
RGBrgb(18, 125, 138)
HSLhsl(187, 77%, 31%)
HSVhsv(187, 87%, 54%)
CMYKcmyk(87%, 9.4%, 0%, 45.9%)
CIE-LABlab(47.79, -22.95, -15.06)
CIE-LCHlch(47.79, 27.45, 213.27°)
OKLaboklab(54.1% -0.0787 -0.042)
OKLCHoklch(54.1% 0.089 208.1)
XYZxyz(12.1685, 16.6292, 26.6082)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D8A #8A1F12
analogous
#128A5B #127D8A #12418A
triadic
#127D8A #8A127D #7D8A12
tetradic
#127D8A #5B128A #8A1F12 #418A12
square
#127D8A #5B128A #8A1F12 #418A12
split-complementary
#127D8A #8A1241 #8A5B12
monochromatic
#041B1E #0B4C54 #127D8A #19AEC0 #32D1E4

Accessibility & contrast

On white

4.85
#127D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#127D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D8A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D8A#FFFFFF#000000##FFFFFF
##127D8A1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788B
Deuteranopia (green-blind)
#616D8A
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #127d8a;
/* rgb */ color: rgb(18, 125, 138);
/* oklch */ color: oklch(54.1% 0.089 208.1);
Tailwind
colors: {
  custom: {
    50: '#6aa3ac',
    500: '#127d8a',
    950: '#000000',
  },
}
SCSS
$custom: #127d8a;
$custom-light: #6aa3ac;
$custom-dark: #000000;
JSON
{
  "hex": "#127d8a",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 138
  },
  "hsl": {
    "h": 186.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54099,
    "c": 0.08918,
    "h": 208.1
  },
  "luminance": 0.16631
}

Semantic roles & 50–950 ramp

primary
#127D8A
secondary
#BF4839
accent
#4934F3
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #127D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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