#127C8A#127C8A

#127C8A is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.8% C 0.089 H 209.2°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#127C8A
RGBrgb(18, 124, 138)
HSLhsl(187, 77%, 31%)
HSVhsv(187, 87%, 54%)
CMYKcmyk(87%, 10.1%, 0%, 45.9%)
CIE-LABlab(47.47, -22.43, -15.55)
CIE-LCHlch(47.47, 27.29, 214.73°)
OKLaboklab(53.84% -0.0777 -0.0434)
OKLCHoklch(53.84% 0.089 209.2)
XYZxyz(12.0425, 16.3773, 26.5663)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C8A #8A2012
analogous
#128A5C #127C8A #12408A
triadic
#127C8A #8A127C #7C8A12
tetradic
#127C8A #5C128A #8A2012 #408A12
square
#127C8A #5C128A #8A2012 #408A12
split-complementary
#127C8A #8A1240 #8A5C12
monochromatic
#041B1E #0B4B54 #127C8A #19ADC0 #32CFE4

Accessibility & contrast

On white

4.91
#127C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#127C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C8A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C8A#FFFFFF#000000##FFFFFF
##127C8A1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70778B
Deuteranopia (green-blind)
#606C8A
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #127c8a;
/* rgb */ color: rgb(18, 124, 138);
/* oklch */ color: oklch(53.8% 0.089 209.2);
Tailwind
colors: {
  custom: {
    50: '#6aa2ac',
    500: '#127c8a',
    950: '#000000',
  },
}
SCSS
$custom: #127c8a;
$custom-light: #6aa2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#127c8a",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 187,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53837,
    "c": 0.08897,
    "h": 209.2
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#127C8A
secondary
#BF4939
accent
#4B34F3
background
#F6FAFA
surface
#ECF3F4
border
#C7CDCE
text
#080F10
muted
#7A7F7F

Preview Lab

Preview with #127C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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