#127D54#127D54

#127D54 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.3% C 0.112 H 160.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#127D54
RGBrgb(18, 125, 84)
HSLhsl(157, 75%, 28%)
HSVhsv(157, 86%, 49%)
CMYKcmyk(85.6%, 0%, 32.8%, 51%)
CIE-LABlab(46.22, -38.78, 14.47)
CIE-LCHlch(46.22, 41.39, 159.54°)
OKLaboklab(52.3% -0.1054 0.0367)
OKLCHoklch(52.3% 0.112 160.8)
XYZxyz(9.1823, 15.4348, 10.8810)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D54 #7D123B
analogous
#127D1E #127D54 #12707D
triadic
#127D54 #54127D #7D5412
tetradic
#127D54 #1E127D #7D123B #707D12
square
#127D54 #1E127D #7D123B #707D12
split-complementary
#127D54 #7D1270 #7D1E12
monochromatic
#041B12 #0A4830 #127D54 #1AB278 #29E09A

Accessibility & contrast

On white

5.14
#127D54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#127D54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D54
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D54#FFFFFF#000000##FFFFFF
##127D541.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7352
Deuteranopia (green-blind)
#6F6A57
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127d54;
/* rgb */ color: rgb(18, 125, 84);
/* oklch */ color: oklch(52.3% 0.112 160.8);
Tailwind
colors: {
  custom: {
    50: '#66a384',
    500: '#127d54',
    950: '#000000',
  },
}
SCSS
$custom: #127d54;
$custom-light: #66a384;
$custom-dark: #000000;
JSON
{
  "hex": "#127d54",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 84
  },
  "hsl": {
    "h": 157.009,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.11157,
    "h": 160.8
  },
  "luminance": 0.15436
}

Semantic roles & 50–950 ramp

primary
#127D54
secondary
#B33867
accent
#367EF1
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127D54

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

Preview Lab → · Contrast checker → · Palette generator →

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