#127F4A#127F4A

#127F4A is a mid, vivid teal. Relative luminance 0.158; OKLCH L 52.6% C 0.124 H 155.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#127F4A
RGBrgb(18, 127, 74)
HSLhsl(151, 75%, 28%)
HSVhsv(151, 86%, 50%)
CMYKcmyk(85.8%, 0%, 41.7%, 50.2%)
CIE-LABlab(46.71, -41.79, 20.85)
CIE-LCHlch(46.71, 46.70, 153.49°)
OKLaboklab(52.64% -0.1125 0.0519)
OKLCHoklch(52.64% 0.124 155.2)
XYZxyz(9.0740, 15.8006, 9.0488)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F4A #7F1247
analogous
#127F14 #127F4A #127D7F
triadic
#127F4A #4A127F #7F4A12
tetradic
#127F4A #14127F #7F1247 #7D7F12
square
#127F4A #14127F #7F1247 #7D7F12
split-complementary
#127F4A #7F127D #7F1412
monochromatic
#041B10 #0A492B #127F4A #1AB569 #2BE188

Accessibility & contrast

On white

5.05
#127F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #127F4A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F4A#FFFFFF#000000##FFFFFF
##127F4A1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7446
Deuteranopia (green-blind)
#726B4E
Tritanopia (blue-blind)
#007E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127f4a;
/* rgb */ color: rgb(18, 127, 74);
/* oklch */ color: oklch(52.6% 0.124 155.2);
Tailwind
colors: {
  custom: {
    50: '#66a57d',
    500: '#127f4a',
    950: '#000000',
  },
}
SCSS
$custom: #127f4a;
$custom-light: #66a57d;
$custom-dark: #000000;
JSON
{
  "hex": "#127f4a",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 74
  },
  "hsl": {
    "h": 150.826,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52641,
    "c": 0.12386,
    "h": 155.2
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

primary
#127F4A
secondary
#B53875
accent
#3691F2
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #127F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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