#127E56#127E56

#127E56 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.6% C 0.111 H 161.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#127E56
RGBrgb(18, 126, 86)
HSLhsl(158, 75%, 28%)
HSVhsv(158, 86%, 49%)
CMYKcmyk(85.7%, 0%, 31.7%, 50.6%)
CIE-LABlab(46.61, -38.72, 13.84)
CIE-LCHlch(46.61, 41.12, 160.33°)
OKLaboklab(52.63% -0.1054 0.0351)
OKLCHoklch(52.63% 0.111 161.6)
XYZxyz(9.3890, 15.7210, 11.3419)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E56 #7E123A
analogous
#127E20 #127E56 #12707E
triadic
#127E56 #56127E #7E5612
tetradic
#127E56 #20127E #7E123A #707E12
square
#127E56 #20127E #7E123A #707E12
split-complementary
#127E56 #7E1270 #7E2012
monochromatic
#041B12 #0A4831 #127E56 #1AB47B #2AE19D

Accessibility & contrast

On white

5.07
#127E56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#127E56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E56
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E56#FFFFFF#000000##FFFFFF
##127E561.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7454
Deuteranopia (green-blind)
#706B59
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127e56;
/* rgb */ color: rgb(18, 126, 86);
/* oklch */ color: oklch(52.6% 0.111 161.6);
Tailwind
colors: {
  custom: {
    50: '#66a485',
    500: '#127e56',
    950: '#000000',
  },
}
SCSS
$custom: #127e56;
$custom-light: #66a485;
$custom-dark: #000000;
JSON
{
  "hex": "#127e56",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 86
  },
  "hsl": {
    "h": 157.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.11108,
    "h": 161.6
  },
  "luminance": 0.15722
}

Semantic roles & 50–950 ramp

primary
#127E56
secondary
#B43866
accent
#367CF2
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127E56

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

Preview Lab → · Contrast checker → · Palette generator →

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