#127C54#127C54

#127C54 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.0% C 0.110 H 161.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#127C54
RGBrgb(18, 124, 84)
HSLhsl(157, 75%, 28%)
HSVhsv(157, 85%, 49%)
CMYKcmyk(85.5%, 0%, 32.3%, 51.4%)
CIE-LABlab(45.88, -38.37, 14.00)
CIE-LCHlch(45.88, 40.84, 159.95°)
OKLaboklab(52.02% -0.1043 0.0355)
OKLCHoklch(52.02% 0.11 161.2)
XYZxyz(9.0563, 15.1829, 10.8391)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C54 #7C123A
analogous
#127C1F #127C54 #126F7C
triadic
#127C54 #54127C #7C5412
tetradic
#127C54 #1F127C #7C123A #6F7C12
square
#127C54 #1F127C #7C123A #6F7C12
split-complementary
#127C54 #7C126F #7C1F12
monochromatic
#041B12 #0A4730 #127C54 #1AB178 #29E09B

Accessibility & contrast

On white

5.20
#127C54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#127C54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C54
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C54#FFFFFF#000000##FFFFFF
##127C541.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7252
Deuteranopia (green-blind)
#6E6957
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127c54;
/* rgb */ color: rgb(18, 124, 84);
/* oklch */ color: oklch(52.0% 0.110 161.2);
Tailwind
colors: {
  custom: {
    50: '#65a384',
    500: '#127c54',
    950: '#000000',
  },
}
SCSS
$custom: #127c54;
$custom-light: #65a384;
$custom-dark: #000000;
JSON
{
  "hex": "#127c54",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 84
  },
  "hsl": {
    "h": 157.358,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52021,
    "c": 0.11022,
    "h": 161.2
  },
  "luminance": 0.15184
}

Semantic roles & 50–950 ramp

primary
#127C54
secondary
#B23866
accent
#377DF1
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127C54

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

Preview Lab → · Contrast checker → · Palette generator →

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