#127C4D#127C4D

#127C4D is a mid, moderate teal. Relative luminance 0.151; OKLCH L 51.9% C 0.117 H 157.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#127C4D
RGBrgb(18, 124, 77)
HSLhsl(153, 75%, 28%)
HSVhsv(153, 85%, 49%)
CMYKcmyk(85.5%, 0%, 37.9%, 51.4%)
CIE-LABlab(45.74, -39.97, 17.85)
CIE-LCHlch(45.74, 43.77, 155.94°)
OKLaboklab(51.86% -0.1079 0.0448)
OKLCHoklch(51.86% 0.117 157.5)
XYZxyz(8.7957, 15.0786, 9.4666)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C4D #7C1241
analogous
#127C18 #127C4D #12767C
triadic
#127C4D #4D127C #7C4D12
tetradic
#127C4D #18127C #7C1241 #767C12
square
#127C4D #18127C #7C1241 #767C12
split-complementary
#127C4D #7C1276 #7C1812
monochromatic
#041B11 #0A472C #127C4D #1AB16E #29E08F

Accessibility & contrast

On white

5.23
#127C4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#127C4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C4D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C4D#FFFFFF#000000##FFFFFF
##127C4D1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B714A
Deuteranopia (green-blind)
#6F6950
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127c4d;
/* rgb */ color: rgb(18, 124, 77);
/* oklch */ color: oklch(51.9% 0.117 157.5);
Tailwind
colors: {
  custom: {
    50: '#65a37f',
    500: '#127c4d',
    950: '#000000',
  },
}
SCSS
$custom: #127c4d;
$custom-light: #65a37f;
$custom-dark: #000000;
JSON
{
  "hex": "#127c4d",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 77
  },
  "hsl": {
    "h": 153.396,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.11686,
    "h": 157.5
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#127C4D
secondary
#B2386E
accent
#3789F1
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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