#127D5F#127D5F

#127D5F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.6% C 0.102 H 167.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#127D5F
RGBrgb(18, 125, 95)
HSLhsl(163, 75%, 28%)
HSVhsv(163, 86%, 49%)
CMYKcmyk(85.6%, 0%, 24%, 51%)
CIE-LABlab(46.47, -36.04, 8.40)
CIE-LCHlch(46.47, 37.01, 166.88°)
OKLaboklab(52.59% -0.0997 0.0215)
OKLCHoklch(52.59% 0.102 167.9)
XYZxyz(9.6475, 15.6208, 13.3309)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D5F #7D1230
analogous
#127D2A #127D5F #12657D
triadic
#127D5F #5F127D #7D5F12
tetradic
#127D5F #2A127D #7D1230 #657D12
square
#127D5F #2A127D #7D1230 #657D12
split-complementary
#127D5F #7D1265 #7D2A12
monochromatic
#041B14 #0A4836 #127D5F #1AB288 #29E0AD

Accessibility & contrast

On white

5.09
#127D5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#127D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D5F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D5F#FFFFFF#000000##FFFFFF
##127D5F1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745D
Deuteranopia (green-blind)
#6D6A61
Tritanopia (blue-blind)
#007E75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127d5f;
/* rgb */ color: rgb(18, 125, 95);
/* oklch */ color: oklch(52.6% 0.102 167.9);
Tailwind
colors: {
  custom: {
    50: '#66a38c',
    500: '#127d5f',
    950: '#000000',
  },
}
SCSS
$custom: #127d5f;
$custom-light: #66a38c;
$custom-dark: #000000;
JSON
{
  "hex": "#127d5f",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 95
  },
  "hsl": {
    "h": 163.178,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.10199,
    "h": 167.9
  },
  "luminance": 0.15622
}

Semantic roles & 50–950 ramp

primary
#127D5F
secondary
#B3385A
accent
#366BF1
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #127D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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