#127F5A#127F5A

#127F5A is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.0% C 0.109 H 163.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#127F5A
RGBrgb(18, 127, 90)
HSLhsl(160, 75%, 28%)
HSVhsv(160, 86%, 50%)
CMYKcmyk(85.8%, 0%, 29.1%, 50.2%)
CIE-LABlab(47.03, -38.17, 12.11)
CIE-LCHlch(47.03, 40.04, 162.40°)
OKLaboklab(53.01% -0.1044 0.0308)
OKLCHoklch(53.01% 0.109 163.5)
XYZxyz(9.6832, 16.0443, 12.2574)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F5A #7F1237
analogous
#127F23 #127F5A #126D7F
triadic
#127F5A #5A127F #7F5A12
tetradic
#127F5A #23127F #7F1237 #6D7F12
square
#127F5A #23127F #7F1237 #6D7F12
split-complementary
#127F5A #7F126D #7F2312
monochromatic
#041B13 #0A4934 #127F5A #1AB580 #2BE1A3

Accessibility & contrast

On white

4.99
#127F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#127F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F5A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F5A#FFFFFF#000000##FFFFFF
##127F5A1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7558
Deuteranopia (green-blind)
#706C5C
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127f5a;
/* rgb */ color: rgb(18, 127, 90);
/* oklch */ color: oklch(53.0% 0.109 163.5);
Tailwind
colors: {
  custom: {
    50: '#66a588',
    500: '#127f5a',
    950: '#000000',
  },
}
SCSS
$custom: #127f5a;
$custom-light: #66a588;
$custom-dark: #000000;
JSON
{
  "hex": "#127f5a",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 90
  },
  "hsl": {
    "h": 159.633,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53011,
    "c": 0.10882,
    "h": 163.5
  },
  "luminance": 0.16046
}

Semantic roles & 50–950 ramp

primary
#127F5A
secondary
#B53862
accent
#3676F2
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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