#127D5D#127D5D

#127D5D is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.5% C 0.104 H 166.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#127D5D
RGBrgb(18, 125, 93)
HSLhsl(162, 75%, 28%)
HSVhsv(162, 86%, 49%)
CMYKcmyk(85.6%, 0%, 25.6%, 51%)
CIE-LABlab(46.43, -36.56, 9.51)
CIE-LCHlch(46.43, 37.78, 165.43°)
OKLaboklab(52.53% -0.1007 0.0243)
OKLCHoklch(52.53% 0.104 166.5)
XYZxyz(9.5577, 15.5849, 12.8583)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D5D #7D1232
analogous
#127D27 #127D5D #12677D
triadic
#127D5D #5D127D #7D5D12
tetradic
#127D5D #27127D #7D1232 #677D12
square
#127D5D #27127D #7D1232 #677D12
split-complementary
#127D5D #7D1267 #7D2712
monochromatic
#041B14 #0A4835 #127D5D #1AB285 #29E0A9

Accessibility & contrast

On white

5.10
#127D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#127D5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D5D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D5D#FFFFFF#000000##FFFFFF
##127D5D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A735B
Deuteranopia (green-blind)
#6D6A5F
Tritanopia (blue-blind)
#007D74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127d5d;
/* rgb */ color: rgb(18, 125, 93);
/* oklch */ color: oklch(52.5% 0.104 166.5);
Tailwind
colors: {
  custom: {
    50: '#66a38b',
    500: '#127d5d',
    950: '#000000',
  },
}
SCSS
$custom: #127d5d;
$custom-light: #66a38b;
$custom-dark: #000000;
JSON
{
  "hex": "#127d5d",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 93
  },
  "hsl": {
    "h": 162.056,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52534,
    "c": 0.10362,
    "h": 166.5
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#127D5D
secondary
#B3385D
accent
#366EF1
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #127D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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