#127E5E#127E5E

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

Color values

HEX#127E5E
RGBrgb(18, 126, 94)
HSLhsl(162, 75%, 28%)
HSVhsv(162, 86%, 49%)
CMYKcmyk(85.7%, 0%, 25.4%, 50.6%)
CIE-LABlab(46.79, -36.74, 9.43)
CIE-LCHlch(46.79, 37.93, 165.60°)
OKLaboklab(52.84% -0.1013 0.0241)
OKLCHoklch(52.84% 0.104 166.6)
XYZxyz(9.7295, 15.8572, 13.1355)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E5E #7E1232
analogous
#127E28 #127E5E #12687E
triadic
#127E5E #5E127E #7E5E12
tetradic
#127E5E #28127E #7E1232 #687E12
square
#127E5E #28127E #7E1232 #687E12
split-complementary
#127E5E #7E1268 #7E2812
monochromatic
#041B14 #0A4836 #127E5E #1AB486 #2AE1AA

Accessibility & contrast

On white

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

On black

4.17
#127E5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127E5E#FFFFFF#000000##FFFFFF
##127E5E1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B745C
Deuteranopia (green-blind)
#6E6B60
Tritanopia (blue-blind)
#007E75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127e5e;
/* rgb */ color: rgb(18, 126, 94);
/* oklch */ color: oklch(52.8% 0.104 166.6);
Tailwind
colors: {
  custom: {
    50: '#66a48b',
    500: '#127e5e',
    950: '#000000',
  },
}
SCSS
$custom: #127e5e;
$custom-light: #66a48b;
$custom-dark: #000000;
JSON
{
  "hex": "#127e5e",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 94
  },
  "hsl": {
    "h": 162.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52839,
    "c": 0.10409,
    "h": 166.6
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#127E5E
secondary
#B4385D
accent
#366EF2
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #127E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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