#127E4F#127E4F

#127E4F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.5% C 0.118 H 157.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#127E4F
RGBrgb(18, 126, 79)
HSLhsl(154, 75%, 28%)
HSVhsv(154, 86%, 49%)
CMYKcmyk(85.7%, 0%, 37.3%, 50.6%)
CIE-LABlab(46.46, -40.33, 17.68)
CIE-LCHlch(46.46, 44.03, 156.33°)
OKLaboklab(52.47% -0.109 0.0444)
OKLCHoklch(52.47% 0.118 157.8)
XYZxyz(9.1206, 15.6137, 9.9287)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E4F #7E1241
analogous
#127E19 #127E4F #12777E
triadic
#127E4F #4F127E #7E4F12
tetradic
#127E4F #19127E #7E1241 #777E12
square
#127E4F #19127E #7E1241 #777E12
split-complementary
#127E4F #7E1277 #7E1912
monochromatic
#041B11 #0A482D #127E4F #1AB471 #2AE191

Accessibility & contrast

On white

5.09
#127E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127E4F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E4F#FFFFFF#000000##FFFFFF
##127E4F1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127e4f;
/* rgb */ color: rgb(18, 126, 79);
/* oklch */ color: oklch(52.5% 0.118 157.8);
Tailwind
colors: {
  custom: {
    50: '#66a480',
    500: '#127e4f',
    950: '#000000',
  },
}
SCSS
$custom: #127e4f;
$custom-light: #66a480;
$custom-dark: #000000;
JSON
{
  "hex": "#127e4f",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 79
  },
  "hsl": {
    "h": 153.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52466,
    "c": 0.11766,
    "h": 157.8
  },
  "luminance": 0.15615
}

Semantic roles & 50–950 ramp

primary
#127E4F
secondary
#B4386E
accent
#3688F2
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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