#128A5E#128A5E

#128A5E is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.2% C 0.120 H 161.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#128A5E
RGBrgb(18, 138, 94)
HSLhsl(158, 77%, 31%)
HSVhsv(158, 87%, 54%)
CMYKcmyk(87%, 0%, 31.9%, 45.9%)
CIE-LABlab(50.82, -41.74, 15.04)
CIE-LCHlch(50.82, 44.37, 160.19°)
OKLaboklab(56.16% -0.1135 0.0381)
OKLCHoklch(56.16% 0.12 161.4)
XYZxyz(11.3570, 19.1123, 13.6780)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128A5E #8A123E
analogous
#128A22 #128A5E #127A8A
triadic
#128A5E #5E128A #8A5E12
tetradic
#128A5E #22128A #8A123E #7A8A12
square
#128A5E #22128A #8A123E #7A8A12
split-complementary
#128A5E #8A127A #8A2212
monochromatic
#041E14 #0B5439 #128A5E #19C083 #32E4A3

Accessibility & contrast

On white

4.35
#128A5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#128A5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128A5E
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128A5E#FFFFFF#000000##000000
##128A5E1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887F5B
Deuteranopia (green-blind)
#7A7561
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #128a5e;
/* rgb */ color: rgb(18, 138, 94);
/* oklch */ color: oklch(56.2% 0.120 161.4);
Tailwind
colors: {
  custom: {
    50: '#69ad8b',
    500: '#128a5e',
    950: '#000000',
  },
}
SCSS
$custom: #128a5e;
$custom-light: #69ad8b;
$custom-dark: #000000;
JSON
{
  "hex": "#128a5e",
  "rgb": {
    "r": 18,
    "g": 138,
    "b": 94
  },
  "hsl": {
    "h": 158,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.11974,
    "h": 161.4
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#128A5E
secondary
#BF396A
accent
#347AF3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #128A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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