#127F4F#127F4F

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

Color values

HEX#127F4F
RGBrgb(18, 127, 79)
HSLhsl(154, 75%, 28%)
HSVhsv(154, 86%, 50%)
CMYKcmyk(85.8%, 0%, 37.8%, 50.2%)
CIE-LABlab(46.80, -40.73, 18.13)
CIE-LCHlch(46.80, 44.58, 156.00°)
OKLaboklab(52.75% -0.11 0.0455)
OKLCHoklch(52.75% 0.119 157.5)
XYZxyz(9.2491, 15.8707, 9.9715)
Luminance0.1587 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F4F #7F1242
analogous
#127F18 #127F4F #12787F
triadic
#127F4F #4F127F #7F4F12
tetradic
#127F4F #18127F #7F1242 #787F12
square
#127F4F #18127F #7F1242 #787F12
split-complementary
#127F4F #7F1278 #7F1812
monochromatic
#041B11 #0A492E #127F4F #1AB570 #2BE191

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##127F4F#FFFFFF#000000##FFFFFF
##127F4F1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744C
Deuteranopia (green-blind)
#726B52
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127f4f;
/* rgb */ color: rgb(18, 127, 79);
/* oklch */ color: oklch(52.7% 0.119 157.5);
Tailwind
colors: {
  custom: {
    50: '#66a580',
    500: '#127f4f',
    950: '#000000',
  },
}
SCSS
$custom: #127f4f;
$custom-light: #66a580;
$custom-dark: #000000;
JSON
{
  "hex": "#127f4f",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 79
  },
  "hsl": {
    "h": 153.578,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.11903,
    "h": 157.5
  },
  "luminance": 0.15872
}

Semantic roles & 50–950 ramp

primary
#127F4F
secondary
#B5386F
accent
#3689F2
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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