#127E5D#127E5D

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

Color values

HEX#127E5D
RGBrgb(18, 126, 93)
HSLhsl(162, 75%, 28%)
HSVhsv(162, 86%, 49%)
CMYKcmyk(85.7%, 0%, 26.2%, 50.6%)
CIE-LABlab(46.76, -36.99, 9.98)
CIE-LCHlch(46.76, 38.32, 164.90°)
OKLaboklab(52.81% -0.1018 0.0255)
OKLCHoklch(52.81% 0.105 165.9)
XYZxyz(9.6849, 15.8394, 12.9007)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E5D #7E1233
analogous
#127E27 #127E5D #12697E
triadic
#127E5D #5D127E #7E5D12
tetradic
#127E5D #27127E #7E1233 #697E12
square
#127E5D #27127E #7E1233 #697E12
split-complementary
#127E5D #7E1269 #7E2712
monochromatic
#041B14 #0A4835 #127E5D #1AB485 #2AE1A9

Accessibility & contrast

On white

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

On black

4.17
#127E5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##127E5D#FFFFFF#000000##FFFFFF
##127E5D1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #127e5d;
/* rgb */ color: rgb(18, 126, 93);
/* oklch */ color: oklch(52.8% 0.105 165.9);
Tailwind
colors: {
  custom: {
    50: '#66a48b',
    500: '#127e5d',
    950: '#000000',
  },
}
SCSS
$custom: #127e5d;
$custom-light: #66a48b;
$custom-dark: #000000;
JSON
{
  "hex": "#127e5d",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 93
  },
  "hsl": {
    "h": 161.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52812,
    "c": 0.10492,
    "h": 165.9
  },
  "luminance": 0.15841
}

Semantic roles & 50–950 ramp

primary
#127E5D
secondary
#B4385E
accent
#366FF2
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #127E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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