#127F5B#127F5B

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

Color values

HEX#127F5B
RGBrgb(18, 127, 91)
HSLhsl(160, 75%, 28%)
HSVhsv(160, 86%, 50%)
CMYKcmyk(85.8%, 0%, 28.3%, 50.2%)
CIE-LABlab(47.05, -37.92, 11.56)
CIE-LCHlch(47.05, 39.64, 163.05°)
OKLaboklab(53.04% -0.1038 0.0294)
OKLCHoklch(53.04% 0.108 164.2)
XYZxyz(9.7260, 16.0614, 12.4831)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F5B #7F1236
analogous
#127F24 #127F5B #126C7F
triadic
#127F5B #5B127F #7F5B12
tetradic
#127F5B #24127F #7F1236 #6C7F12
square
#127F5B #24127F #7F1236 #6C7F12
split-complementary
#127F5B #7F126C #7F2412
monochromatic
#041B13 #0A4935 #127F5B #1AB581 #2BE1A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127F5B#FFFFFF#000000##FFFFFF
##127F5B1.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)
#7C7559
Deuteranopia (green-blind)
#706C5D
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #127f5b;
/* rgb */ color: rgb(18, 127, 91);
/* oklch */ color: oklch(53.0% 0.108 164.2);
Tailwind
colors: {
  custom: {
    50: '#66a589',
    500: '#127f5b',
    950: '#000000',
  },
}
SCSS
$custom: #127f5b;
$custom-light: #66a589;
$custom-dark: #000000;
JSON
{
  "hex": "#127f5b",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 91
  },
  "hsl": {
    "h": 160.183,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.10794,
    "h": 164.2
  },
  "luminance": 0.16063
}

Semantic roles & 50–950 ramp

primary
#127F5B
secondary
#B53861
accent
#3674F2
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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