#127F5F#127F5F

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

Color values

HEX#127F5F
RGBrgb(18, 127, 95)
HSLhsl(162, 75%, 28%)
HSVhsv(162, 86%, 50%)
CMYKcmyk(85.8%, 0%, 25.2%, 50.2%)
CIE-LABlab(47.15, -36.91, 9.35)
CIE-LCHlch(47.15, 38.08, 165.78°)
OKLaboklab(53.14% -0.1018 0.0239)
OKLCHoklch(53.14% 0.105 166.8)
XYZxyz(9.9032, 16.1323, 13.4162)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F5F #7F1232
analogous
#127F28 #127F5F #12687F
triadic
#127F5F #5F127F #7F5F12
tetradic
#127F5F #28127F #7F1232 #687F12
square
#127F5F #28127F #7F1232 #687F12
split-complementary
#127F5F #7F1268 #7F2812
monochromatic
#041B14 #0A4937 #127F5F #1AB587 #2BE1AB

Accessibility & contrast

On white

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

On black

4.23
#127F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127F5F#FFFFFF#000000##FFFFFF
##127F5F1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127f5f;
/* rgb */ color: rgb(18, 127, 95);
/* oklch */ color: oklch(53.1% 0.105 166.8);
Tailwind
colors: {
  custom: {
    50: '#67a58c',
    500: '#127f5f',
    950: '#000000',
  },
}
SCSS
$custom: #127f5f;
$custom-light: #67a58c;
$custom-dark: #000000;
JSON
{
  "hex": "#127f5f",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 95
  },
  "hsl": {
    "h": 162.385,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53143,
    "c": 0.10454,
    "h": 166.8
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#127F5F
secondary
#B5385D
accent
#366DF2
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #127F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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