#127F57#127F57

#127F57 is a mid, moderate teal. Relative luminance 0.160; OKLCH L 52.9% C 0.112 H 161.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#127F57
RGBrgb(18, 127, 87)
HSLhsl(158, 75%, 28%)
HSVhsv(158, 86%, 50%)
CMYKcmyk(85.8%, 0%, 31.5%, 50.2%)
CIE-LABlab(46.97, -38.90, 13.76)
CIE-LCHlch(46.97, 41.26, 160.52°)
OKLaboklab(52.94% -0.1059 0.0349)
OKLCHoklch(52.94% 0.112 161.8)
XYZxyz(9.5581, 15.9943, 11.5984)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F57 #7F123A
analogous
#127F21 #127F57 #12707F
triadic
#127F57 #57127F #7F5712
tetradic
#127F57 #21127F #7F123A #707F12
square
#127F57 #21127F #7F123A #707F12
split-complementary
#127F57 #7F1270 #7F2112
monochromatic
#041B12 #0A4932 #127F57 #1AB57C #2BE19E

Accessibility & contrast

On white

5.00
#127F57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#127F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F57
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F57#FFFFFF#000000##FFFFFF
##127F571.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7555
Deuteranopia (green-blind)
#706C5A
Tritanopia (blue-blind)
#007F74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127f57;
/* rgb */ color: rgb(18, 127, 87);
/* oklch */ color: oklch(52.9% 0.112 161.8);
Tailwind
colors: {
  custom: {
    50: '#66a586',
    500: '#127f57',
    950: '#000000',
  },
}
SCSS
$custom: #127f57;
$custom-light: #66a586;
$custom-dark: #000000;
JSON
{
  "hex": "#127f57",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 87
  },
  "hsl": {
    "h": 157.982,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52935,
    "c": 0.11151,
    "h": 161.8
  },
  "luminance": 0.15995
}

Semantic roles & 50–950 ramp

primary
#127F57
secondary
#B53866
accent
#367BF2
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127F57

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

Preview Lab → · Contrast checker → · Palette generator →

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