#127C5F#127C5F

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

Color values

HEX#127C5F
RGBrgb(18, 124, 95)
HSLhsl(164, 75%, 28%)
HSVhsv(164, 85%, 49%)
CMYKcmyk(85.5%, 0%, 23.4%, 51.4%)
CIE-LABlab(46.14, -35.61, 7.92)
CIE-LCHlch(46.14, 36.48, 167.46°)
OKLaboklab(52.31% -0.0987 0.0202)
OKLCHoklch(52.31% 0.101 168.4)
XYZxyz(9.5215, 15.3689, 13.2889)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C5F #7C122F
analogous
#127C2A #127C5F #12647C
triadic
#127C5F #5F127C #7C5F12
tetradic
#127C5F #2A127C #7C122F #647C12
square
#127C5F #2A127C #7C122F #647C12
split-complementary
#127C5F #7C1264 #7C2A12
monochromatic
#041B14 #0A4736 #127C5F #1AB188 #29E0AE

Accessibility & contrast

On white

5.15
#127C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127C5F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C5F#FFFFFF#000000##FFFFFF
##127C5F1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127c5f;
/* rgb */ color: rgb(18, 124, 95);
/* oklch */ color: oklch(52.3% 0.101 168.4);
Tailwind
colors: {
  custom: {
    50: '#66a38c',
    500: '#127c5f',
    950: '#000000',
  },
}
SCSS
$custom: #127c5f;
$custom-light: #66a38c;
$custom-dark: #000000;
JSON
{
  "hex": "#127c5f",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 95
  },
  "hsl": {
    "h": 163.585,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52311,
    "c": 0.10072,
    "h": 168.4
  },
  "luminance": 0.1537
}

Semantic roles & 50–950 ramp

primary
#127C5F
secondary
#B23859
accent
#376AF1
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #127C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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