#127B8A#127B8A

#127B8A is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.6% C 0.089 H 210.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#127B8A
RGBrgb(18, 123, 138)
HSLhsl(188, 77%, 31%)
HSVhsv(188, 87%, 54%)
CMYKcmyk(87%, 10.9%, 0%, 45.9%)
CIE-LABlab(47.14, -21.91, -16.04)
CIE-LCHlch(47.14, 27.15, 216.22°)
OKLaboklab(53.58% -0.0767 -0.0447)
OKLCHoklch(53.58% 0.089 210.3)
XYZxyz(11.9178, 16.1280, 26.5247)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B8A #8A2112
analogous
#128A5D #127B8A #123F8A
triadic
#127B8A #8A127B #7B8A12
tetradic
#127B8A #5D128A #8A2112 #3F8A12
square
#127B8A #5D128A #8A2112 #3F8A12
split-complementary
#127B8A #8A123F #8A5D12
monochromatic
#041A1E #0B4B54 #127B8A #19ABC0 #32CEE4

Accessibility & contrast

On white

4.97
#127B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#127B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B8A
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B8A#FFFFFF#000000##FFFFFF
##127B8A1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E768B
Deuteranopia (green-blind)
#5F6B8A
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #127b8a;
/* rgb */ color: rgb(18, 123, 138);
/* oklch */ color: oklch(53.6% 0.089 210.3);
Tailwind
colors: {
  custom: {
    50: '#6aa1ac',
    500: '#127b8a',
    950: '#000000',
  },
}
SCSS
$custom: #127b8a;
$custom-light: #6aa1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#127b8a",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 187.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53575,
    "c": 0.0888,
    "h": 210.3
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#127B8A
secondary
#BF4A39
accent
#4C34F3
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#080F10
muted
#7A7E7F

Preview Lab

Preview with #127B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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