#127E5B#127E5B

#127E5B is a mid, moderate teal. Relative luminance 0.158; OKLCH L 52.8% C 0.107 H 164.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#127E5B
RGBrgb(18, 126, 91)
HSLhsl(161, 75%, 28%)
HSVhsv(161, 86%, 49%)
CMYKcmyk(85.7%, 0%, 27.8%, 50.6%)
CIE-LABlab(46.72, -37.50, 11.08)
CIE-LCHlch(46.72, 39.10, 163.53°)
OKLaboklab(52.76% -0.1028 0.0283)
OKLCHoklch(52.76% 0.107 164.6)
XYZxyz(9.5975, 15.8044, 12.4402)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E5B #7E1235
analogous
#127E25 #127E5B #126B7E
triadic
#127E5B #5B127E #7E5B12
tetradic
#127E5B #25127E #7E1235 #6B7E12
square
#127E5B #25127E #7E1235 #6B7E12
split-complementary
#127E5B #7E126B #7E2512
monochromatic
#041B13 #0A4834 #127E5B #1AB482 #2AE1A5

Accessibility & contrast

On white

5.05
#127E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#127E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E5B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E5B#FFFFFF#000000##FFFFFF
##127E5B1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7459
Deuteranopia (green-blind)
#6F6B5D
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127e5b;
/* rgb */ color: rgb(18, 126, 91);
/* oklch */ color: oklch(52.8% 0.107 164.6);
Tailwind
colors: {
  custom: {
    50: '#66a489',
    500: '#127e5b',
    950: '#000000',
  },
}
SCSS
$custom: #127e5b;
$custom-light: #66a489;
$custom-dark: #000000;
JSON
{
  "hex": "#127e5b",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 91
  },
  "hsl": {
    "h": 160.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52758,
    "c": 0.10662,
    "h": 164.6
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#127E5B
secondary
#B43860
accent
#3673F2
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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