#127D5C#127D5C

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

Color values

HEX#127D5C
RGBrgb(18, 125, 92)
HSLhsl(161, 75%, 28%)
HSVhsv(161, 86%, 49%)
CMYKcmyk(85.6%, 0%, 26.4%, 51%)
CIE-LABlab(46.40, -36.82, 10.06)
CIE-LCHlch(46.40, 38.17, 164.72°)
OKLaboklab(52.51% -0.1013 0.0257)
OKLCHoklch(52.51% 0.104 165.8)
XYZxyz(9.5137, 15.5673, 12.6265)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D5C #7D1233
analogous
#127D26 #127D5C #12687D
triadic
#127D5C #5C127D #7D5C12
tetradic
#127D5C #26127D #7D1233 #687D12
square
#127D5C #26127D #7D1233 #687D12
split-complementary
#127D5C #7D1268 #7D2612
monochromatic
#041B14 #0A4835 #127D5C #1AB283 #29E0A8

Accessibility & contrast

On white

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

On black

4.11
#127D5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127D5C#FFFFFF#000000##FFFFFF
##127D5C1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A735A
Deuteranopia (green-blind)
#6D6A5E
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127d5c;
/* rgb */ color: rgb(18, 125, 92);
/* oklch */ color: oklch(52.5% 0.104 165.8);
Tailwind
colors: {
  custom: {
    50: '#66a38a',
    500: '#127d5c',
    950: '#000000',
  },
}
SCSS
$custom: #127d5c;
$custom-light: #66a38a;
$custom-dark: #000000;
JSON
{
  "hex": "#127d5c",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 92
  },
  "hsl": {
    "h": 161.495,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52507,
    "c": 0.10446,
    "h": 165.8
  },
  "luminance": 0.15569
}

Semantic roles & 50–950 ramp

primary
#127D5C
secondary
#B3385E
accent
#3670F1
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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