#127C5C#127C5C

#127C5C is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.2% C 0.103 H 166.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#127C5C
RGBrgb(18, 124, 92)
HSLhsl(162, 75%, 28%)
HSVhsv(162, 85%, 49%)
CMYKcmyk(85.5%, 0%, 25.8%, 51.4%)
CIE-LABlab(46.06, -36.39, 9.58)
CIE-LCHlch(46.06, 37.63, 165.25°)
OKLaboklab(52.23% -0.1002 0.0245)
OKLCHoklch(52.23% 0.103 166.3)
XYZxyz(9.3878, 15.3154, 12.5845)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C5C #7C1232
analogous
#127C27 #127C5C #12677C
triadic
#127C5C #5C127C #7C5C12
tetradic
#127C5C #27127C #7C1232 #677C12
square
#127C5C #27127C #7C1232 #677C12
split-complementary
#127C5C #7C1267 #7C2712
monochromatic
#041B14 #0A4734 #127C5C #1AB184 #29E0A9

Accessibility & contrast

On white

5.17
#127C5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#127C5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C5C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C5C#FFFFFF#000000##FFFFFF
##127C5C1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79725A
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127c5c;
/* rgb */ color: rgb(18, 124, 92);
/* oklch */ color: oklch(52.2% 0.103 166.3);
Tailwind
colors: {
  custom: {
    50: '#66a38a',
    500: '#127c5c',
    950: '#000000',
  },
}
SCSS
$custom: #127c5c;
$custom-light: #66a38a;
$custom-dark: #000000;
JSON
{
  "hex": "#127c5c",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 92
  },
  "hsl": {
    "h": 161.887,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52228,
    "c": 0.10316,
    "h": 166.3
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#127C5C
secondary
#B2385D
accent
#376FF1
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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