#127E5C#127E5C

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

Color values

HEX#127E5C
RGBrgb(18, 126, 92)
HSLhsl(161, 75%, 28%)
HSVhsv(161, 86%, 49%)
CMYKcmyk(85.7%, 0%, 27%, 50.6%)
CIE-LABlab(46.74, -37.25, 10.53)
CIE-LCHlch(46.74, 38.71, 164.21°)
OKLaboklab(52.79% -0.1023 0.0269)
OKLCHoklch(52.79% 0.106 165.3)
XYZxyz(9.6409, 15.8218, 12.6689)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E5C #7E1234
analogous
#127E26 #127E5C #126A7E
triadic
#127E5C #5C127E #7E5C12
tetradic
#127E5C #26127E #7E1234 #6A7E12
square
#127E5C #26127E #7E1234 #6A7E12
split-complementary
#127E5C #7E126A #7E2612
monochromatic
#041B14 #0A4835 #127E5C #1AB483 #2AE1A7

Accessibility & contrast

On white

5.04
#127E5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127E5C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E5C#FFFFFF#000000##FFFFFF
##127E5C1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B745A
Deuteranopia (green-blind)
#6E6B5E
Tritanopia (blue-blind)
#007E75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127e5c;
/* rgb */ color: rgb(18, 126, 92);
/* oklch */ color: oklch(52.8% 0.106 165.3);
Tailwind
colors: {
  custom: {
    50: '#66a48a',
    500: '#127e5c',
    950: '#000000',
  },
}
SCSS
$custom: #127e5c;
$custom-light: #66a48a;
$custom-dark: #000000;
JSON
{
  "hex": "#127e5c",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 92
  },
  "hsl": {
    "h": 161.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52785,
    "c": 0.10577,
    "h": 165.3
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#127E5C
secondary
#B4385F
accent
#3671F2
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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