#127A54#127A54

#127A54 is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.5% C 0.108 H 162.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#127A54
RGBrgb(18, 122, 84)
HSLhsl(158, 74%, 27%)
HSVhsv(158, 85%, 48%)
CMYKcmyk(85.2%, 0%, 31.1%, 52.2%)
CIE-LABlab(45.20, -37.54, 13.07)
CIE-LCHlch(45.20, 39.74, 160.81°)
OKLaboklab(51.46% -0.1023 0.0332)
OKLCHoklch(51.46% 0.108 162)
XYZxyz(8.8082, 14.6867, 10.7564)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A54 #7A1238
analogous
#127A20 #127A54 #126C7A
triadic
#127A54 #54127A #7A5412
tetradic
#127A54 #20127A #7A1238 #6C7A12
square
#127A54 #20127A #7A1238 #6C7A12
split-complementary
#127A54 #7A126C #7A2012
monochromatic
#041B12 #0A452F #127A54 #1AAF79 #27DF9C

Accessibility & contrast

On white

5.33
#127A54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#127A54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127A54
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127A54#FFFFFF#000000##FFFFFF
##127A541.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787052
Deuteranopia (green-blind)
#6C6757
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127a54;
/* rgb */ color: rgb(18, 122, 84);
/* oklch */ color: oklch(51.5% 0.108 162.0);
Tailwind
colors: {
  custom: {
    50: '#65a184',
    500: '#127a54',
    950: '#000000',
  },
}
SCSS
$custom: #127a54;
$custom-light: #65a184;
$custom-dark: #000000;
JSON
{
  "hex": "#127a54",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 84
  },
  "hsl": {
    "h": 158.077,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51459,
    "c": 0.10753,
    "h": 162
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#127A54
secondary
#B03864
accent
#377BF1
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127A54

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

Preview Lab → · Contrast checker → · Palette generator →

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