#127A8A#127A8A

#127A8A is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.3% C 0.089 H 211.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#127A8A
RGBrgb(18, 122, 138)
HSLhsl(188, 77%, 31%)
HSVhsv(188, 87%, 54%)
CMYKcmyk(87%, 11.6%, 0%, 45.9%)
CIE-LABlab(46.82, -21.38, -16.54)
CIE-LCHlch(46.82, 27.03, 217.73°)
OKLaboklab(53.31% -0.0757 -0.0461)
OKLCHoklch(53.31% 0.089 211.4)
XYZxyz(11.7944, 15.8811, 26.4836)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A8A #8A2212
analogous
#128A5E #127A8A #123E8A
triadic
#127A8A #8A127A #7A8A12
tetradic
#127A8A #5E128A #8A2212 #3E8A12
square
#127A8A #5E128A #8A2212 #3E8A12
split-complementary
#127A8A #8A123E #8A5E12
monochromatic
#041A1E #0B4A54 #127A8A #19AAC0 #32CDE4

Accessibility & contrast

On white

5.03
#127A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#127A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127A8A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127A8A#FFFFFF#000000##FFFFFF
##127A8A1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758B
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127a8a;
/* rgb */ color: rgb(18, 122, 138);
/* oklch */ color: oklch(53.3% 0.089 211.4);
Tailwind
colors: {
  custom: {
    50: '#6aa0ac',
    500: '#127a8a',
    950: '#000000',
  },
}
SCSS
$custom: #127a8a;
$custom-light: #6aa0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#127a8a",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 188,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53313,
    "c": 0.08866,
    "h": 211.4
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#127A8A
secondary
#BF4B39
accent
#4E34F3
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080F10
muted
#7A7E7F

Preview Lab

Preview with #127A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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