#127A7F#127A7F

#127A7F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.9% C 0.086 H 200.1°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#127A7F
RGBrgb(18, 122, 127)
HSLhsl(183, 75%, 28%)
HSVhsv(183, 86%, 50%)
CMYKcmyk(85.8%, 3.9%, 0%, 50.2%)
CIE-LABlab(46.42, -25.10, -10.63)
CIE-LCHlch(46.42, 27.25, 202.95°)
OKLaboklab(52.86% -0.0807 -0.0296)
OKLCHoklch(52.86% 0.086 200.1)
XYZxyz(11.0380, 15.5786, 22.4998)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A7F #7F1712
analogous
#127F4D #127A7F #12437F
triadic
#127A7F #7F127A #7A7F12
tetradic
#127A7F #4D127F #7F1712 #437F12
square
#127A7F #4D127F #7F1712 #437F12
split-complementary
#127A7F #7F1243 #7F4D12
monochromatic
#041A1B #0A4749 #127A7F #1AADB5 #2BD9E1

Accessibility & contrast

On white

5.10
#127A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#127A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127A7F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127A7F#FFFFFF#000000##FFFFFF
##127A7F1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70747F
Deuteranopia (green-blind)
#62697F
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127a7f;
/* rgb */ color: rgb(18, 122, 127);
/* oklch */ color: oklch(52.9% 0.086 200.1);
Tailwind
colors: {
  custom: {
    50: '#68a1a4',
    500: '#127a7f',
    950: '#000000',
  },
}
SCSS
$custom: #127a7f;
$custom-light: #68a1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#127a7f",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 127
  },
  "hsl": {
    "h": 182.752,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52855,
    "c": 0.08592,
    "h": 200.1
  },
  "luminance": 0.1558
}

Semantic roles & 50–950 ramp

primary
#127A7F
secondary
#B53E38
accent
#3F36F2
background
#F6F9FA
surface
#ECF2F4
border
#C7CCCE
text
#070F0F
muted
#7A7E7F

Preview Lab

Preview with #127A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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