#127C51#127C51

#127C51 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 51.9% C 0.113 H 159.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#127C51
RGBrgb(18, 124, 81)
HSLhsl(156, 75%, 28%)
HSVhsv(156, 85%, 49%)
CMYKcmyk(85.5%, 0%, 34.7%, 51.4%)
CIE-LABlab(45.82, -39.07, 15.66)
CIE-LCHlch(45.82, 42.09, 158.16°)
OKLaboklab(51.95% -0.1059 0.0395)
OKLCHoklch(51.95% 0.113 159.5)
XYZxyz(8.9413, 15.1369, 10.2334)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C51 #7C123D
analogous
#127C1C #127C51 #12727C
triadic
#127C51 #51127C #7C5112
tetradic
#127C51 #1C127C #7C123D #727C12
square
#127C51 #1C127C #7C123D #727C12
split-complementary
#127C51 #7C1272 #7C1C12
monochromatic
#041B11 #0A472E #127C51 #1AB174 #29E095

Accessibility & contrast

On white

5.21
#127C51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#127C51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C51
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C51#FFFFFF#000000##FFFFFF
##127C511.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A724E
Deuteranopia (green-blind)
#6E6954
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127c51;
/* rgb */ color: rgb(18, 124, 81);
/* oklch */ color: oklch(51.9% 0.113 159.5);
Tailwind
colors: {
  custom: {
    50: '#65a382',
    500: '#127c51',
    950: '#000000',
  },
}
SCSS
$custom: #127c51;
$custom-light: #65a382;
$custom-dark: #000000;
JSON
{
  "hex": "#127c51",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 81
  },
  "hsl": {
    "h": 155.66,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51949,
    "c": 0.11303,
    "h": 159.5
  },
  "luminance": 0.15138
}

Semantic roles & 50–950 ramp

primary
#127C51
secondary
#B23869
accent
#3782F1
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127C51

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

Preview Lab → · Contrast checker → · Palette generator →

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