#127D4C#127D4C

#127D4C is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.1% C 0.119 H 156.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#127D4C
RGBrgb(18, 125, 76)
HSLhsl(153, 75%, 28%)
HSVhsv(153, 86%, 49%)
CMYKcmyk(85.6%, 0%, 39.2%, 51%)
CIE-LABlab(46.06, -40.58, 18.85)
CIE-LCHlch(46.06, 44.75, 155.08°)
OKLaboklab(52.12% -0.1094 0.0472)
OKLCHoklch(52.12% 0.119 156.7)
XYZxyz(8.8867, 15.3165, 9.3241)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D4C #7D1243
analogous
#127D16 #127D4C #12787D
triadic
#127D4C #4C127D #7D4C12
tetradic
#127D4C #16127D #7D1243 #787D12
square
#127D4C #16127D #7D1243 #787D12
split-complementary
#127D4C #7D1278 #7D1612
monochromatic
#041B10 #0A482B #127D4C #1AB26D #29E08C

Accessibility & contrast

On white

5.17
#127D4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#127D4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D4C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D4C#FFFFFF#000000##FFFFFF
##127D4C1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7249
Deuteranopia (green-blind)
#706A4F
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127d4c;
/* rgb */ color: rgb(18, 125, 76);
/* oklch */ color: oklch(52.1% 0.119 156.7);
Tailwind
colors: {
  custom: {
    50: '#66a47e',
    500: '#127d4c',
    950: '#000000',
  },
}
SCSS
$custom: #127d4c;
$custom-light: #66a47e;
$custom-dark: #000000;
JSON
{
  "hex": "#127d4c",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 76
  },
  "hsl": {
    "h": 152.523,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52118,
    "c": 0.11919,
    "h": 156.7
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#127D4C
secondary
#B33870
accent
#368CF1
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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