#127A4D#127A4D

#127A4D is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.3% C 0.114 H 158.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#127A4D
RGBrgb(18, 122, 77)
HSLhsl(154, 74%, 27%)
HSVhsv(154, 85%, 48%)
CMYKcmyk(85.2%, 0%, 36.9%, 52.2%)
CIE-LABlab(45.06, -39.16, 16.93)
CIE-LCHlch(45.06, 42.67, 156.62°)
OKLaboklab(51.29% -0.1059 0.0426)
OKLCHoklch(51.29% 0.114 158.1)
XYZxyz(8.5476, 14.5824, 9.3839)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A4D #7A123F
analogous
#127A19 #127A4D #12737A
triadic
#127A4D #4D127A #7A4D12
tetradic
#127A4D #19127A #7A123F #737A12
square
#127A4D #19127A #7A123F #737A12
split-complementary
#127A4D #7A1273 #7A1912
monochromatic
#041B11 #0A452B #127A4D #1AAF6F #27DF90

Accessibility & contrast

On white

5.36
#127A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#127A4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127A4D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127A4D#FFFFFF#000000##FFFFFF
##127A4D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704A
Deuteranopia (green-blind)
#6D6750
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127a4d;
/* rgb */ color: rgb(18, 122, 77);
/* oklch */ color: oklch(51.3% 0.114 158.1);
Tailwind
colors: {
  custom: {
    50: '#65a17f',
    500: '#127a4d',
    950: '#000000',
  },
}
SCSS
$custom: #127a4d;
$custom-light: #65a17f;
$custom-dark: #000000;
JSON
{
  "hex": "#127a4d",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 77
  },
  "hsl": {
    "h": 154.038,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51292,
    "c": 0.11412,
    "h": 158.1
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

primary
#127A4D
secondary
#B0386C
accent
#3787F1
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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