#127F51#127F51

#127F51 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.8% C 0.117 H 158.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#127F51
RGBrgb(18, 127, 81)
HSLhsl(155, 75%, 28%)
HSVhsv(155, 86%, 50%)
CMYKcmyk(85.8%, 0%, 36.2%, 50.2%)
CIE-LABlab(46.84, -40.29, 17.04)
CIE-LCHlch(46.84, 43.74, 157.07°)
OKLaboklab(52.79% -0.109 0.0429)
OKLCHoklch(52.79% 0.117 158.5)
XYZxyz(9.3230, 15.9002, 10.3607)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F51 #7F1240
analogous
#127F1B #127F51 #12767F
triadic
#127F51 #51127F #7F5112
tetradic
#127F51 #1B127F #7F1240 #767F12
square
#127F51 #1B127F #7F1240 #767F12
split-complementary
#127F51 #7F1276 #7F1B12
monochromatic
#041B11 #0A492F #127F51 #1AB573 #2BE194

Accessibility & contrast

On white

5.02
#127F51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#127F51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F51
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F51#FFFFFF#000000##FFFFFF
##127F511.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744E
Deuteranopia (green-blind)
#716B54
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127f51;
/* rgb */ color: rgb(18, 127, 81);
/* oklch */ color: oklch(52.8% 0.117 158.5);
Tailwind
colors: {
  custom: {
    50: '#66a582',
    500: '#127f51',
    950: '#000000',
  },
}
SCSS
$custom: #127f51;
$custom-light: #66a582;
$custom-dark: #000000;
JSON
{
  "hex": "#127f51",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 81
  },
  "hsl": {
    "h": 154.679,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52793,
    "c": 0.1171,
    "h": 158.5
  },
  "luminance": 0.15901
}

Semantic roles & 50–950 ramp

primary
#127F51
secondary
#B5386D
accent
#3685F2
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127F51

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

Preview Lab → · Contrast checker → · Palette generator →

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