#127A53#127A53

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

Color values

HEX#127A53
RGBrgb(18, 122, 83)
HSLhsl(158, 74%, 27%)
HSVhsv(158, 85%, 48%)
CMYKcmyk(85.2%, 0%, 32%, 52.2%)
CIE-LABlab(45.18, -37.78, 13.62)
CIE-LCHlch(45.18, 40.16, 160.18°)
OKLaboklab(51.43% -0.1028 0.0345)
OKLCHoklch(51.43% 0.108 161.4)
XYZxyz(8.7693, 14.6711, 10.5516)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A53 #7A1239
analogous
#127A1F #127A53 #126D7A
triadic
#127A53 #53127A #7A5312
tetradic
#127A53 #1F127A #7A1239 #6D7A12
square
#127A53 #1F127A #7A1239 #6D7A12
split-complementary
#127A53 #7A126D #7A1F12
monochromatic
#041B12 #0A452F #127A53 #1AAF77 #27DF9A

Accessibility & contrast

On white

5.34
#127A53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#127A53 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127A53
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127A53#FFFFFF#000000##FFFFFF
##127A531.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127a53;
/* rgb */ color: rgb(18, 122, 83);
/* oklch */ color: oklch(51.4% 0.108 161.4);
Tailwind
colors: {
  custom: {
    50: '#65a183',
    500: '#127a53',
    950: '#000000',
  },
}
SCSS
$custom: #127a53;
$custom-light: #65a183;
$custom-dark: #000000;
JSON
{
  "hex": "#127a53",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 83
  },
  "hsl": {
    "h": 157.5,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51434,
    "c": 0.10845,
    "h": 161.4
  },
  "luminance": 0.14672
}

Semantic roles & 50–950 ramp

primary
#127A53
secondary
#B03865
accent
#377DF1
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127A53

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

Preview Lab → · Contrast checker → · Palette generator →

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