#128D6C#128D6C

#128D6C is a mid, moderate teal. Relative luminance 0.203; OKLCH L 57.3% C 0.112 H 168.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#128D6C
RGBrgb(18, 141, 108)
HSLhsl(164, 77%, 31%)
HSVhsv(164, 87%, 55%)
CMYKcmyk(87.2%, 0%, 23.4%, 44.7%)
CIE-LABlab(52.13, -39.53, 8.85)
CIE-LCHlch(52.13, 40.51, 167.37°)
OKLaboklab(57.34% -0.1094 0.0226)
OKLCHoklch(57.34% 0.112 168.3)
XYZxyz(12.4796, 20.2595, 17.4372)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128D6C #8D1233
analogous
#128D2E #128D6C #12708D
triadic
#128D6C #6C128D #8D6C12
tetradic
#128D6C #2E128D #8D1233 #708D12
square
#128D6C #2E128D #8D1233 #708D12
split-complementary
#128D6C #8D1270 #8D2E12
monochromatic
#042019 #0B5742 #128D6C #19C396 #34E5B6

Accessibility & contrast

On white

4.16
#128D6C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#128D6C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128D6C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128D6C#FFFFFF#000000##000000
##128D6C1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89826A
Deuteranopia (green-blind)
#7B786E
Tritanopia (blue-blind)
#008E84
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #128d6c;
/* rgb */ color: rgb(18, 141, 108);
/* oklch */ color: oklch(57.3% 0.112 168.3);
Tailwind
colors: {
  custom: {
    50: '#6aaf96',
    500: '#128d6c',
    950: '#000000',
  },
}
SCSS
$custom: #128d6c;
$custom-light: #6aaf96;
$custom-dark: #000000;
JSON
{
  "hex": "#128d6c",
  "rgb": {
    "r": 18,
    "g": 141,
    "b": 108
  },
  "hsl": {
    "h": 163.902,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57342,
    "c": 0.11175,
    "h": 168.3
  },
  "luminance": 0.20261
}

Semantic roles & 50–950 ramp

primary
#128D6C
secondary
#C1395E
accent
#3467F4
background
#F7FAF9
surface
#EDF5F1
border
#C8CFCB
text
#08100D
muted
#7B7F7E

Preview Lab

Preview with #128D6C

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

Preview Lab → · Contrast checker → · Palette generator →

#128D6C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva