#127D4F#127D4F

#127D4F is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.2% C 0.116 H 158.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#127D4F
RGBrgb(18, 125, 79)
HSLhsl(154, 75%, 28%)
HSVhsv(154, 86%, 49%)
CMYKcmyk(85.6%, 0%, 36.8%, 51%)
CIE-LABlab(46.12, -39.93, 17.22)
CIE-LCHlch(46.12, 43.48, 156.68°)
OKLaboklab(52.18% -0.1079 0.0433)
OKLCHoklch(52.18% 0.116 158.1)
XYZxyz(8.9934, 15.3592, 9.8863)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D4F #7D1240
analogous
#127D1A #127D4F #12757D
triadic
#127D4F #4F127D #7D4F12
tetradic
#127D4F #1A127D #7D1240 #757D12
square
#127D4F #1A127D #7D1240 #757D12
split-complementary
#127D4F #7D1275 #7D1A12
monochromatic
#041B11 #0A482D #127D4F #1AB271 #29E092

Accessibility & contrast

On white

5.16
#127D4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#127D4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D4F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D4F#FFFFFF#000000##FFFFFF
##127D4F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C724C
Deuteranopia (green-blind)
#706A52
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127d4f;
/* rgb */ color: rgb(18, 125, 79);
/* oklch */ color: oklch(52.2% 0.116 158.1);
Tailwind
colors: {
  custom: {
    50: '#66a380',
    500: '#127d4f',
    950: '#000000',
  },
}
SCSS
$custom: #127d4f;
$custom-light: #66a380;
$custom-dark: #000000;
JSON
{
  "hex": "#127d4f",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 79
  },
  "hsl": {
    "h": 154.206,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.1163,
    "h": 158.1
  },
  "luminance": 0.1536
}

Semantic roles & 50–950 ramp

primary
#127D4F
secondary
#B3386D
accent
#3687F1
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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