#127E4D#127E4D

#127E4D is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.4% C 0.120 H 156.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#127E4D
RGBrgb(18, 126, 77)
HSLhsl(153, 75%, 28%)
HSVhsv(153, 86%, 49%)
CMYKcmyk(85.7%, 0%, 38.9%, 50.6%)
CIE-LABlab(46.43, -40.77, 18.77)
CIE-LCHlch(46.43, 44.88, 155.28°)
OKLaboklab(52.42% -0.11 0.047)
OKLCHoklch(52.42% 0.12 156.9)
XYZxyz(9.0489, 15.5850, 9.5510)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E4D #7E1243
analogous
#127E17 #127E4D #12797E
triadic
#127E4D #4D127E #7E4D12
tetradic
#127E4D #17127E #7E1243 #797E12
square
#127E4D #17127E #7E1243 #797E12
split-complementary
#127E4D #7E1279 #7E1712
monochromatic
#041B10 #0A482C #127E4D #1AB46E #2AE18E

Accessibility & contrast

On white

5.10
#127E4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#127E4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E4D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E4D#FFFFFF#000000##FFFFFF
##127E4D1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734A
Deuteranopia (green-blind)
#716A50
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127e4d;
/* rgb */ color: rgb(18, 126, 77);
/* oklch */ color: oklch(52.4% 0.120 156.9);
Tailwind
colors: {
  custom: {
    50: '#66a47f',
    500: '#127e4d',
    950: '#000000',
  },
}
SCSS
$custom: #127e4d;
$custom-light: #66a47f;
$custom-dark: #000000;
JSON
{
  "hex": "#127e4d",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 77
  },
  "hsl": {
    "h": 152.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.11959,
    "h": 156.9
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#127E4D
secondary
#B43870
accent
#368BF2
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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