#128D6A#128D6A

#128D6A is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.3% C 0.113 H 167.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#128D6A
RGBrgb(18, 141, 106)
HSLhsl(163, 77%, 31%)
HSVhsv(163, 87%, 55%)
CMYKcmyk(87.2%, 0%, 24.8%, 44.7%)
CIE-LABlab(52.08, -40.04, 9.94)
CIE-LCHlch(52.08, 41.26, 166.06°)
OKLaboklab(57.29% -0.1105 0.0254)
OKLCHoklch(57.29% 0.113 167.1)
XYZxyz(12.3743, 20.2174, 16.8830)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128D6A #8D1235
analogous
#128D2C #128D6A #12728D
triadic
#128D6A #6A128D #8D6A12
tetradic
#128D6A #2C128D #8D1235 #728D12
square
#128D6A #2C128D #8D1235 #728D12
split-complementary
#128D6A #8D1272 #8D2C12
monochromatic
#042018 #0B5741 #128D6A #19C393 #34E5B3

Accessibility & contrast

On white

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

On black

5.04
#128D6A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128D6A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128D6A#FFFFFF#000000##000000
##128D6A1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#898268
Deuteranopia (green-blind)
#7B786C
Tritanopia (blue-blind)
#008E83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #128d6a;
/* rgb */ color: rgb(18, 141, 106);
/* oklch */ color: oklch(57.3% 0.113 167.1);
Tailwind
colors: {
  custom: {
    50: '#6aaf94',
    500: '#128d6a',
    950: '#000000',
  },
}
SCSS
$custom: #128d6a;
$custom-light: #6aaf94;
$custom-dark: #000000;
JSON
{
  "hex": "#128d6a",
  "rgb": {
    "r": 18,
    "g": 141,
    "b": 106
  },
  "hsl": {
    "h": 162.927,
    "s": 77.358,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57288,
    "c": 0.11334,
    "h": 167.1
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#128D6A
secondary
#C13960
accent
#346BF4
background
#F6FAF9
surface
#ECF5F1
border
#C7CFCB
text
#08100D
muted
#7A7F7E

Preview Lab

Preview with #128D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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