#127F56#127F56

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

Color values

HEX#127F56
RGBrgb(18, 127, 86)
HSLhsl(157, 75%, 28%)
HSVhsv(157, 86%, 50%)
CMYKcmyk(85.8%, 0%, 32.3%, 50.2%)
CIE-LABlab(46.95, -39.13, 14.31)
CIE-LCHlch(46.95, 41.67, 159.92°)
OKLaboklab(52.91% -0.1064 0.0363)
OKLCHoklch(52.91% 0.112 161.2)
XYZxyz(9.5175, 15.9780, 11.3847)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F56 #7F123B
analogous
#127F1F #127F56 #12717F
triadic
#127F56 #56127F #7F5612
tetradic
#127F56 #1F127F #7F123B #717F12
square
#127F56 #1F127F #7F123B #717F12
split-complementary
#127F56 #7F1271 #7F1F12
monochromatic
#041B12 #0A4932 #127F56 #1AB57A #2BE19C

Accessibility & contrast

On white

5.01
#127F56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127F56
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F56#FFFFFF#000000##FFFFFF
##127F561.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7554
Deuteranopia (green-blind)
#716C59
Tritanopia (blue-blind)
#007F74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127f56;
/* rgb */ color: rgb(18, 127, 86);
/* oklch */ color: oklch(52.9% 0.112 161.2);
Tailwind
colors: {
  custom: {
    50: '#66a585',
    500: '#127f56',
    950: '#000000',
  },
}
SCSS
$custom: #127f56;
$custom-light: #66a585;
$custom-dark: #000000;
JSON
{
  "hex": "#127f56",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 86
  },
  "hsl": {
    "h": 157.431,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.11242,
    "h": 161.2
  },
  "luminance": 0.15979
}

Semantic roles & 50–950 ramp

primary
#127F56
secondary
#B53867
accent
#367DF2
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127F56

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

Preview Lab → · Contrast checker → · Palette generator →

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