#127F5C#127F5C

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

Color values

HEX#127F5C
RGBrgb(18, 127, 92)
HSLhsl(161, 75%, 28%)
HSVhsv(161, 86%, 50%)
CMYKcmyk(85.8%, 0%, 27.6%, 50.2%)
CIE-LABlab(47.08, -37.67, 11.01)
CIE-LCHlch(47.08, 39.25, 163.71°)
OKLaboklab(53.06% -0.1033 0.0281)
OKLCHoklch(53.06% 0.107 164.8)
XYZxyz(9.7695, 16.0788, 12.7118)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F5C #7F1235
analogous
#127F25 #127F5C #126B7F
triadic
#127F5C #5C127F #7F5C12
tetradic
#127F5C #25127F #7F1235 #6B7F12
square
#127F5C #25127F #7F1235 #6B7F12
split-complementary
#127F5C #7F126B #7F2512
monochromatic
#041B13 #0A4935 #127F5C #1AB583 #2BE1A6

Accessibility & contrast

On white

4.98
#127F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127F5C
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F5C#FFFFFF#000000##FFFFFF
##127F5C1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C755A
Deuteranopia (green-blind)
#6F6C5E
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #127f5c;
/* rgb */ color: rgb(18, 127, 92);
/* oklch */ color: oklch(53.1% 0.107 164.8);
Tailwind
colors: {
  custom: {
    50: '#66a58a',
    500: '#127f5c',
    950: '#000000',
  },
}
SCSS
$custom: #127f5c;
$custom-light: #66a58a;
$custom-dark: #000000;
JSON
{
  "hex": "#127f5c",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 92
  },
  "hsl": {
    "h": 160.734,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.10707,
    "h": 164.8
  },
  "luminance": 0.1608
}

Semantic roles & 50–950 ramp

primary
#127F5C
secondary
#B53860
accent
#3672F2
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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