#127E5F#127E5F

#127E5F is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.9% C 0.103 H 167.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#127E5F
RGBrgb(18, 126, 95)
HSLhsl(163, 75%, 28%)
HSVhsv(163, 86%, 49%)
CMYKcmyk(85.7%, 0%, 24.6%, 50.6%)
CIE-LABlab(46.81, -36.48, 8.88)
CIE-LCHlch(46.81, 37.54, 166.32°)
OKLaboklab(52.87% -0.1008 0.0227)
OKLCHoklch(52.87% 0.103 167.3)
XYZxyz(9.7747, 15.8753, 13.3733)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E5F #7E1231
analogous
#127E29 #127E5F #12677E
triadic
#127E5F #5F127E #7E5F12
tetradic
#127E5F #29127E #7E1231 #677E12
square
#127E5F #29127E #7E1231 #677E12
split-complementary
#127E5F #7E1267 #7E2912
monochromatic
#041B14 #0A4837 #127E5F #1AB487 #2AE1AC

Accessibility & contrast

On white

5.03
#127E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#127E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E5F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E5F#FFFFFF#000000##FFFFFF
##127E5F1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B745D
Deuteranopia (green-blind)
#6E6B61
Tritanopia (blue-blind)
#007F75
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127e5f;
/* rgb */ color: rgb(18, 126, 95);
/* oklch */ color: oklch(52.9% 0.103 167.3);
Tailwind
colors: {
  custom: {
    50: '#66a48c',
    500: '#127e5f',
    950: '#000000',
  },
}
SCSS
$custom: #127e5f;
$custom-light: #66a48c;
$custom-dark: #000000;
JSON
{
  "hex": "#127e5f",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 95
  },
  "hsl": {
    "h": 162.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52866,
    "c": 0.10327,
    "h": 167.3
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#127E5F
secondary
#B4385C
accent
#366CF2
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #127E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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