#127E8F#127E8F

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

Color values

HEX#127E8F
RGBrgb(18, 126, 143)
HSLhsl(188, 78%, 32%)
HSVhsv(188, 87%, 56%)
CMYKcmyk(87.4%, 11.9%, 0%, 43.9%)
CIE-LABlab(48.30, -21.77, -17.22)
CIE-LCHlch(48.30, 27.76, 218.36°)
OKLaboklab(54.57% -0.0775 -0.0481)
OKLCHoklch(54.57% 0.091 211.8)
XYZxyz(12.6661, 17.0318, 28.6012)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E8F #8F2312
analogous
#128F62 #127E8F #12408F
triadic
#127E8F #8F127E #7E8F12
tetradic
#127E8F #62128F #8F2312 #408F12
square
#127E8F #62128F #8F2312 #408F12
split-complementary
#127E8F #8F1240 #8F6212
monochromatic
#041E22 #0B4E59 #127E8F #19AEC5 #36CEE6

Accessibility & contrast

On white

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

On black

4.41
#127E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127E8F#FFFFFF#000000##FFFFFF
##127E8F1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717990
Deuteranopia (green-blind)
#616E8F
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #127e8f;
/* rgb */ color: rgb(18, 126, 143);
/* oklch */ color: oklch(54.6% 0.091 211.8);
Tailwind
colors: {
  custom: {
    50: '#6ba3af',
    500: '#127e8f',
    950: '#000000',
  },
}
SCSS
$custom: #127e8f;
$custom-light: #6ba3af;
$custom-dark: #000000;
JSON
{
  "hex": "#127e8f",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 143
  },
  "hsl": {
    "h": 188.16,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54574,
    "c": 0.09119,
    "h": 211.8
  },
  "luminance": 0.17033
}

Semantic roles & 50–950 ramp

primary
#127E8F
secondary
#C34C3A
accent
#4E34F4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F10
muted
#7B7F7F

Preview Lab

Preview with #127E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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