#127C5D#127C5D

#127C5D is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.3% C 0.102 H 167.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#127C5D
RGBrgb(18, 124, 93)
HSLhsl(162, 75%, 28%)
HSVhsv(162, 85%, 49%)
CMYKcmyk(85.5%, 0%, 25%, 51.4%)
CIE-LABlab(46.09, -36.13, 9.03)
CIE-LCHlch(46.09, 37.24, 165.97°)
OKLaboklab(52.26% -0.0997 0.0231)
OKLCHoklch(52.26% 0.102 167)
XYZxyz(9.4318, 15.3330, 12.8163)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C5D #7C1231
analogous
#127C28 #127C5D #12667C
triadic
#127C5D #5D127C #7C5D12
tetradic
#127C5D #28127C #7C1231 #667C12
square
#127C5D #28127C #7C1231 #667C12
split-complementary
#127C5D #7C1266 #7C2812
monochromatic
#041B14 #0A4735 #127C5D #1AB185 #29E0AA

Accessibility & contrast

On white

5.16
#127C5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#127C5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C5D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C5D#FFFFFF#000000##FFFFFF
##127C5D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79735B
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127c5d;
/* rgb */ color: rgb(18, 124, 93);
/* oklch */ color: oklch(52.3% 0.102 167.0);
Tailwind
colors: {
  custom: {
    50: '#66a38b',
    500: '#127c5d',
    950: '#000000',
  },
}
SCSS
$custom: #127c5d;
$custom-light: #66a38b;
$custom-dark: #000000;
JSON
{
  "hex": "#127c5d",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 93
  },
  "hsl": {
    "h": 162.453,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52256,
    "c": 0.10234,
    "h": 167
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#127C5D
secondary
#B2385C
accent
#376DF1
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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