#127F5E#127F5E

#127F5E is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.1% C 0.105 H 166.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#127F5E
RGBrgb(18, 127, 94)
HSLhsl(162, 75%, 28%)
HSVhsv(162, 86%, 50%)
CMYKcmyk(85.8%, 0%, 26%, 50.2%)
CIE-LABlab(47.12, -37.17, 9.90)
CIE-LCHlch(47.12, 38.46, 165.08°)
OKLaboklab(53.12% -0.1023 0.0253)
OKLCHoklch(53.12% 0.105 166.1)
XYZxyz(9.8580, 16.1142, 13.1783)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F5E #7F1233
analogous
#127F27 #127F5E #12697F
triadic
#127F5E #5E127F #7F5E12
tetradic
#127F5E #27127F #7F1233 #697F12
square
#127F5E #27127F #7F1233 #697F12
split-complementary
#127F5E #7F1269 #7F2712
monochromatic
#041B14 #0A4936 #127F5E #1AB586 #2BE1AA

Accessibility & contrast

On white

4.97
#127F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#127F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F5E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F5E#FFFFFF#000000##FFFFFF
##127F5E1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C755C
Deuteranopia (green-blind)
#6F6C60
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #127f5e;
/* rgb */ color: rgb(18, 127, 94);
/* oklch */ color: oklch(53.1% 0.105 166.1);
Tailwind
colors: {
  custom: {
    50: '#67a58b',
    500: '#127f5e',
    950: '#000000',
  },
}
SCSS
$custom: #127f5e;
$custom-light: #67a58b;
$custom-dark: #000000;
JSON
{
  "hex": "#127f5e",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 94
  },
  "hsl": {
    "h": 161.835,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53116,
    "c": 0.10538,
    "h": 166.1
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

primary
#127F5E
secondary
#B5385E
accent
#366FF2
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #127F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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