#127A4A#127A4A

#127A4A is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.2% C 0.117 H 156.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#127A4A
RGBrgb(18, 122, 74)
HSLhsl(152, 74%, 27%)
HSVhsv(152, 85%, 48%)
CMYKcmyk(85.2%, 0%, 39.3%, 52.2%)
CIE-LABlab(45.00, -39.82, 18.57)
CIE-LCHlch(45.00, 43.94, 155.00°)
OKLaboklab(51.23% -0.1074 0.0465)
OKLCHoklch(51.23% 0.117 156.6)
XYZxyz(8.4442, 14.5410, 8.8389)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A4A #7A1242
analogous
#127A16 #127A4A #12767A
triadic
#127A4A #4A127A #7A4A12
tetradic
#127A4A #16127A #7A1242 #767A12
square
#127A4A #16127A #7A1242 #767A12
split-complementary
#127A4A #7A1276 #7A1612
monochromatic
#041B10 #0A452A #127A4A #1AAF6A #27DF8A

Accessibility & contrast

On white

5.37
#127A4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#127A4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127A4A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127A4A#FFFFFF#000000##FFFFFF
##127A4A1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797047
Deuteranopia (green-blind)
#6D674D
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #127a4a;
/* rgb */ color: rgb(18, 122, 74);
/* oklch */ color: oklch(51.2% 0.117 156.6);
Tailwind
colors: {
  custom: {
    50: '#65a17d',
    500: '#127a4a',
    950: '#000000',
  },
}
SCSS
$custom: #127a4a;
$custom-light: #65a17d;
$custom-dark: #000000;
JSON
{
  "hex": "#127a4a",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 74
  },
  "hsl": {
    "h": 152.308,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51225,
    "c": 0.11703,
    "h": 156.6
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#127A4A
secondary
#B0386F
accent
#378DF1
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #127A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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