#127B5B#127B5B

#127B5B is a mid, moderate teal. Relative luminance 0.150; OKLCH L 51.9% C 0.103 H 166.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#127B5B
RGBrgb(18, 123, 91)
HSLhsl(162, 74%, 28%)
HSVhsv(162, 85%, 48%)
CMYKcmyk(85.4%, 0%, 26%, 51.8%)
CIE-LABlab(45.70, -36.22, 9.66)
CIE-LCHlch(45.70, 37.48, 165.06°)
OKLaboklab(51.92% -0.0997 0.0247)
OKLCHoklch(51.92% 0.103 166.1)
XYZxyz(9.2196, 15.0487, 12.3143)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B5B #7B1232
analogous
#127B26 #127B5B #12677B
triadic
#127B5B #5B127B #7B5B12
tetradic
#127B5B #26127B #7B1232 #677B12
square
#127B5B #26127B #7B1232 #677B12
split-complementary
#127B5B #7B1267 #7B2612
monochromatic
#041B14 #0A4634 #127B5B #1AB082 #28E0A8

Accessibility & contrast

On white

5.24
#127B5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#127B5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B5B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B5B#FFFFFF#000000##FFFFFF
##127B5B1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787259
Deuteranopia (green-blind)
#6C695D
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127b5b;
/* rgb */ color: rgb(18, 123, 91);
/* oklch */ color: oklch(51.9% 0.103 166.1);
Tailwind
colors: {
  custom: {
    50: '#65a289',
    500: '#127b5b',
    950: '#000000',
  },
}
SCSS
$custom: #127b5b;
$custom-light: #65a289;
$custom-dark: #000000;
JSON
{
  "hex": "#127b5b",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 91
  },
  "hsl": {
    "h": 161.714,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.1027,
    "h": 166.1
  },
  "luminance": 0.1505
}

Semantic roles & 50–950 ramp

primary
#127B5B
secondary
#B1385D
accent
#3770F1
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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