#127C4F#127C4F

#127C4F is a mid, moderate teal. Relative luminance 0.151; OKLCH L 51.9% C 0.115 H 158.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#127C4F
RGBrgb(18, 124, 79)
HSLhsl(155, 75%, 28%)
HSVhsv(155, 85%, 49%)
CMYKcmyk(85.5%, 0%, 36.3%, 51.4%)
CIE-LABlab(45.78, -39.52, 16.75)
CIE-LCHlch(45.78, 42.93, 157.03°)
OKLaboklab(51.9% -0.1069 0.0422)
OKLCHoklch(51.9% 0.115 158.5)
XYZxyz(8.8675, 15.1073, 9.8443)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C4F #7C123F
analogous
#127C1A #127C4F #12747C
triadic
#127C4F #4F127C #7C4F12
tetradic
#127C4F #1A127C #7C123F #747C12
square
#127C4F #1A127C #7C123F #747C12
split-complementary
#127C4F #7C1274 #7C1A12
monochromatic
#041B11 #0A472D #127C4F #1AB171 #29E092

Accessibility & contrast

On white

5.22
#127C4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#127C4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C4F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C4F#FFFFFF#000000##FFFFFF
##127C4F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724C
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127c4f;
/* rgb */ color: rgb(18, 124, 79);
/* oklch */ color: oklch(51.9% 0.115 158.5);
Tailwind
colors: {
  custom: {
    50: '#65a380',
    500: '#127c4f',
    950: '#000000',
  },
}
SCSS
$custom: #127c4f;
$custom-light: #65a380;
$custom-dark: #000000;
JSON
{
  "hex": "#127c4f",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 79
  },
  "hsl": {
    "h": 154.528,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.11493,
    "h": 158.5
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#127C4F
secondary
#B2386C
accent
#3786F1
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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