#127C5A#127C5A

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

Color values

HEX#127C5A
RGBrgb(18, 124, 90)
HSLhsl(161, 75%, 28%)
HSVhsv(161, 85%, 49%)
CMYKcmyk(85.5%, 0%, 27.4%, 51.4%)
CIE-LABlab(46.02, -36.90, 10.69)
CIE-LCHlch(46.02, 38.42, 163.84°)
OKLaboklab(52.17% -0.1013 0.0273)
OKLCHoklch(52.17% 0.105 164.9)
XYZxyz(9.3015, 15.2809, 12.1302)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C5A #7C1234
analogous
#127C25 #127C5A #12697C
triadic
#127C5A #5A127C #7C5A12
tetradic
#127C5A #25127C #7C1234 #697C12
square
#127C5A #25127C #7C1234 #697C12
split-complementary
#127C5A #7C1269 #7C2512
monochromatic
#041B13 #0A4733 #127C5A #1AB181 #29E0A5

Accessibility & contrast

On white

5.18
#127C5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127C5A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C5A#FFFFFF#000000##FFFFFF
##127C5A1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797258
Deuteranopia (green-blind)
#6D695C
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127c5a;
/* rgb */ color: rgb(18, 124, 90);
/* oklch */ color: oklch(52.2% 0.105 164.9);
Tailwind
colors: {
  custom: {
    50: '#66a388',
    500: '#127c5a',
    950: '#000000',
  },
}
SCSS
$custom: #127c5a;
$custom-light: #66a388;
$custom-dark: #000000;
JSON
{
  "hex": "#127c5a",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 90
  },
  "hsl": {
    "h": 160.755,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.10487,
    "h": 164.9
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#127C5A
secondary
#B2385F
accent
#3772F1
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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