#127A52#127A52

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

Color values

HEX#127A52
RGBrgb(18, 122, 82)
HSLhsl(157, 74%, 27%)
HSVhsv(157, 85%, 48%)
CMYKcmyk(85.2%, 0%, 32.8%, 52.2%)
CIE-LABlab(45.16, -38.01, 14.17)
CIE-LCHlch(45.16, 40.57, 159.55°)
OKLaboklab(51.41% -0.1033 0.0359)
OKLCHoklch(51.41% 0.109 160.8)
XYZxyz(8.7310, 14.6558, 10.3497)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127A52 #7A123A
analogous
#127A1E #127A52 #126E7A
triadic
#127A52 #52127A #7A5212
tetradic
#127A52 #1E127A #7A123A #6E7A12
square
#127A52 #1E127A #7A123A #6E7A12
split-complementary
#127A52 #7A126E #7A1E12
monochromatic
#041B12 #0A452E #127A52 #1AAF76 #27DF98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127A52#FFFFFF#000000##FFFFFF
##127A521.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)
#787050
Deuteranopia (green-blind)
#6C6755
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127a52;
/* rgb */ color: rgb(18, 122, 82);
/* oklch */ color: oklch(51.4% 0.109 160.8);
Tailwind
colors: {
  custom: {
    50: '#65a182',
    500: '#127a52',
    950: '#000000',
  },
}
SCSS
$custom: #127a52;
$custom-light: #65a182;
$custom-dark: #000000;
JSON
{
  "hex": "#127a52",
  "rgb": {
    "r": 18,
    "g": 122,
    "b": 82
  },
  "hsl": {
    "h": 156.923,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.5141,
    "c": 0.10938,
    "h": 160.8
  },
  "luminance": 0.14657
}

Semantic roles & 50–950 ramp

primary
#127A52
secondary
#B03866
accent
#377EF1
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127A52

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

Preview Lab → · Contrast checker → · Palette generator →

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