#127F8A#127F8A

#127F8A is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.6% C 0.090 H 205.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#127F8A
RGBrgb(18, 127, 138)
HSLhsl(186, 77%, 31%)
HSVhsv(186, 87%, 54%)
CMYKcmyk(87%, 8%, 0%, 45.9%)
CIE-LABlab(48.44, -23.99, -14.08)
CIE-LCHlch(48.44, 27.81, 210.40°)
OKLaboklab(54.62% -0.0807 -0.0392)
OKLCHoklch(54.62% 0.09 205.9)
XYZxyz(12.4242, 17.1407, 26.6935)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F8A #8A1D12
analogous
#128A59 #127F8A #12438A
triadic
#127F8A #8A127F #7F8A12
tetradic
#127F8A #59128A #8A1D12 #438A12
square
#127F8A #59128A #8A1D12 #438A12
split-complementary
#127F8A #8A1243 #8A5912
monochromatic
#041B1E #0B4D54 #127F8A #19B1C0 #32D4E4

Accessibility & contrast

On white

4.74
#127F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#127F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F8A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F8A#FFFFFF#000000##FFFFFF
##127F8A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73798B
Deuteranopia (green-blind)
#646E8A
Tritanopia (blue-blind)
#008582
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #127f8a;
/* rgb */ color: rgb(18, 127, 138);
/* oklch */ color: oklch(54.6% 0.090 205.9);
Tailwind
colors: {
  custom: {
    50: '#6ba4ac',
    500: '#127f8a',
    950: '#000000',
  },
}
SCSS
$custom: #127f8a;
$custom-light: #6ba4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#127f8a",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 138
  },
  "hsl": {
    "h": 185.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.0897,
    "h": 205.9
  },
  "luminance": 0.17142
}

Semantic roles & 50–950 ramp

primary
#127F8A
secondary
#BF4539
accent
#4634F3
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #127F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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