#127C5E#127C5E

#127C5E is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.3% C 0.102 H 167.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#127C5E
RGBrgb(18, 124, 94)
HSLhsl(163, 75%, 28%)
HSVhsv(163, 85%, 49%)
CMYKcmyk(85.5%, 0%, 24.2%, 51.4%)
CIE-LABlab(46.11, -35.87, 8.48)
CIE-LCHlch(46.11, 36.86, 166.70°)
OKLaboklab(52.28% -0.0992 0.0217)
OKLCHoklch(52.28% 0.102 167.7)
XYZxyz(9.4763, 15.3509, 13.0511)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C5E #7C1230
analogous
#127C29 #127C5E #12657C
triadic
#127C5E #5E127C #7C5E12
tetradic
#127C5E #29127C #7C1230 #657C12
square
#127C5E #29127C #7C1230 #657C12
split-complementary
#127C5E #7C1265 #7C2912
monochromatic
#041B14 #0A4735 #127C5E #1AB187 #29E0AC

Accessibility & contrast

On white

5.16
#127C5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#127C5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C5E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C5E#FFFFFF#000000##FFFFFF
##127C5E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735C
Deuteranopia (green-blind)
#6C6960
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127c5e;
/* rgb */ color: rgb(18, 124, 94);
/* oklch */ color: oklch(52.3% 0.102 167.7);
Tailwind
colors: {
  custom: {
    50: '#66a38b',
    500: '#127c5e',
    950: '#000000',
  },
}
SCSS
$custom: #127c5e;
$custom-light: #66a38b;
$custom-dark: #000000;
JSON
{
  "hex": "#127c5e",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 94
  },
  "hsl": {
    "h": 163.019,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.10153,
    "h": 167.7
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#127C5E
secondary
#B2385A
accent
#376BF1
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #127C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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