#127E8E#127E8E

#127E8E is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.5% C 0.091 H 210.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#127E8E
RGBrgb(18, 126, 142)
HSLhsl(188, 78%, 31%)
HSVhsv(188, 87%, 56%)
CMYKcmyk(87.3%, 11.3%, 0%, 44.3%)
CIE-LABlab(48.26, -22.11, -16.69)
CIE-LCHlch(48.26, 27.70, 217.05°)
OKLaboklab(54.53% -0.0779 -0.0466)
OKLCHoklch(54.53% 0.091 210.9)
XYZxyz(12.5906, 17.0017, 28.2040)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E8E #8E2212
analogous
#128E60 #127E8E #12408E
triadic
#127E8E #8E127E #7E8E12
tetradic
#127E8E #60128E #8E2212 #408E12
square
#127E8E #60128E #8E2212 #408E12
split-complementary
#127E8E #8E1240 #8E6012
monochromatic
#041E21 #0B4E58 #127E8E #19AEC4 #35CFE5

Accessibility & contrast

On white

4.77
#127E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#127E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E8E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E8E#FFFFFF#000000##FFFFFF
##127E8E1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71798F
Deuteranopia (green-blind)
#616E8E
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #127e8e;
/* rgb */ color: rgb(18, 126, 142);
/* oklch */ color: oklch(54.5% 0.091 210.9);
Tailwind
colors: {
  custom: {
    50: '#6ba3af',
    500: '#127e8e',
    950: '#000000',
  },
}
SCSS
$custom: #127e8e;
$custom-light: #6ba3af;
$custom-dark: #000000;
JSON
{
  "hex": "#127e8e",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 142
  },
  "hsl": {
    "h": 187.742,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54531,
    "c": 0.09078,
    "h": 210.9
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#127E8E
secondary
#C24B3A
accent
#4D34F4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #127E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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