#127F54#127F54

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

Color values

HEX#127F54
RGBrgb(18, 127, 84)
HSLhsl(156, 75%, 28%)
HSVhsv(156, 86%, 50%)
CMYKcmyk(85.8%, 0%, 33.9%, 50.2%)
CIE-LABlab(46.90, -39.60, 15.40)
CIE-LCHlch(46.90, 42.49, 158.75°)
OKLaboklab(52.86% -0.1074 0.0389)
OKLCHoklch(52.86% 0.114 160.1)
XYZxyz(9.4380, 15.9462, 10.9663)
Luminance0.1595 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F54 #7F123D
analogous
#127F1D #127F54 #12737F
triadic
#127F54 #54127F #7F5412
tetradic
#127F54 #1D127F #7F123D #737F12
square
#127F54 #1D127F #7F123D #737F12
split-complementary
#127F54 #7F1273 #7F1D12
monochromatic
#041B12 #0A4931 #127F54 #1AB577 #2BE199

Accessibility & contrast

On white

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

On black

4.19
#127F54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127F54#FFFFFF#000000##FFFFFF
##127F541.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7551
Deuteranopia (green-blind)
#716C57
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127f54;
/* rgb */ color: rgb(18, 127, 84);
/* oklch */ color: oklch(52.9% 0.114 160.1);
Tailwind
colors: {
  custom: {
    50: '#66a584',
    500: '#127f54',
    950: '#000000',
  },
}
SCSS
$custom: #127f54;
$custom-light: #66a584;
$custom-dark: #000000;
JSON
{
  "hex": "#127f54",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 84
  },
  "hsl": {
    "h": 156.33,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.11428,
    "h": 160.1
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#127F54
secondary
#B53869
accent
#3680F2
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127F54

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

Preview Lab → · Contrast checker → · Palette generator →

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