#127A4C#127A4C

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

Color values

HEX#127A4C
RGBrgb(18, 122, 76)
HSLhsl(153, 74%, 27%)
HSVhsv(153, 85%, 48%)
CMYKcmyk(85.2%, 0%, 37.7%, 52.2%)
CIE-LABlab(45.04, -39.39, 17.48)
CIE-LCHlch(45.04, 43.09, 156.07°)
OKLaboklab(51.27% -0.1064 0.0439)
OKLCHoklch(51.27% 0.115 157.6)
XYZxyz(8.5126, 14.5684, 9.1994)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A4C #7A1240
analogous
#127A18 #127A4C #12747A
triadic
#127A4C #4C127A #7A4C12
tetradic
#127A4C #18127A #7A1240 #747A12
square
#127A4C #18127A #7A1240 #747A12
split-complementary
#127A4C #7A1274 #7A1812
monochromatic
#041B11 #0A452B #127A4C #1AAF6D #27DF8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127A4C#FFFFFF#000000##FFFFFF
##127A4C1.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)
#797049
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127a4c;
/* rgb */ color: rgb(18, 122, 76);
/* oklch */ color: oklch(51.3% 0.115 157.6);
Tailwind
colors: {
  custom: {
    50: '#65a17e',
    500: '#127a4c',
    950: '#000000',
  },
}
SCSS
$custom: #127a4c;
$custom-light: #65a17e;
$custom-dark: #000000;
JSON
{
  "hex": "#127a4c",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 76
  },
  "hsl": {
    "h": 153.462,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51269,
    "c": 0.11509,
    "h": 157.6
  },
  "luminance": 0.14569
}

Semantic roles & 50–950 ramp

primary
#127A4C
secondary
#B0386D
accent
#3789F1
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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