#127B57#127B57

#127B57 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 51.8% C 0.106 H 163.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#127B57
RGBrgb(18, 123, 87)
HSLhsl(159, 74%, 28%)
HSVhsv(159, 85%, 48%)
CMYKcmyk(85.4%, 0%, 29.3%, 51.8%)
CIE-LABlab(45.61, -37.22, 11.88)
CIE-LCHlch(45.61, 39.07, 162.30°)
OKLaboklab(51.82% -0.1018 0.0302)
OKLCHoklch(51.82% 0.106 163.5)
XYZxyz(9.0517, 14.9815, 11.4296)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B57 #7B1236
analogous
#127B23 #127B57 #126A7B
triadic
#127B57 #57127B #7B5712
tetradic
#127B57 #23127B #7B1236 #6A7B12
square
#127B57 #23127B #7B1236 #6A7B12
split-complementary
#127B57 #7B126A #7B2312
monochromatic
#041B13 #0A4631 #127B57 #1AB07D #28E0A1

Accessibility & contrast

On white

5.25
#127B57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#127B57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B57
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B57#FFFFFF#000000##FFFFFF
##127B571.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797155
Deuteranopia (green-blind)
#6C6859
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127b57;
/* rgb */ color: rgb(18, 123, 87);
/* oklch */ color: oklch(51.8% 0.106 163.5);
Tailwind
colors: {
  custom: {
    50: '#65a286',
    500: '#127b57',
    950: '#000000',
  },
}
SCSS
$custom: #127b57;
$custom-light: #65a286;
$custom-dark: #000000;
JSON
{
  "hex": "#127b57",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 87
  },
  "hsl": {
    "h": 159.429,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51816,
    "c": 0.10616,
    "h": 163.5
  },
  "luminance": 0.14983
}

Semantic roles & 50–950 ramp

primary
#127B57
secondary
#B13861
accent
#3777F1
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127B57

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

Preview Lab → · Contrast checker → · Palette generator →

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