#128A5B#128A5B

#128A5B is a mid, vivid teal. Relative luminance 0.191; OKLCH L 56.1% C 0.122 H 159.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#128A5B
RGBrgb(18, 138, 91)
HSLhsl(157, 77%, 31%)
HSVhsv(157, 87%, 54%)
CMYKcmyk(87%, 0%, 34.1%, 45.9%)
CIE-LABlab(50.76, -42.43, 16.66)
CIE-LCHlch(50.76, 45.59, 158.56°)
OKLaboklab(56.09% -0.115 0.0421)
OKLCHoklch(56.09% 0.122 159.9)
XYZxyz(11.2250, 19.0595, 12.9827)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128A5B #8A1241
analogous
#128A1F #128A5B #127D8A
triadic
#128A5B #5B128A #8A5B12
tetradic
#128A5B #1F128A #8A1241 #7D8A12
square
#128A5B #1F128A #8A1241 #7D8A12
split-complementary
#128A5B #8A127D #8A1F12
monochromatic
#041E14 #0B5437 #128A5B #19C07F #32E49E

Accessibility & contrast

On white

4.36
#128A5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#128A5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128A5B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128A5B#FFFFFF#000000##000000
##128A5B1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887F58
Deuteranopia (green-blind)
#7B755E
Tritanopia (blue-blind)
#00897E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #128a5b;
/* rgb */ color: rgb(18, 138, 91);
/* oklch */ color: oklch(56.1% 0.122 159.9);
Tailwind
colors: {
  custom: {
    50: '#69ad89',
    500: '#128a5b',
    950: '#000000',
  },
}
SCSS
$custom: #128a5b;
$custom-light: #69ad89;
$custom-dark: #000000;
JSON
{
  "hex": "#128a5b",
  "rgb": {
    "r": 18,
    "g": 138,
    "b": 91
  },
  "hsl": {
    "h": 156.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56088,
    "c": 0.12248,
    "h": 159.9
  },
  "luminance": 0.19061
}

Semantic roles & 50–950 ramp

primary
#128A5B
secondary
#BF396D
accent
#347FF3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100B
muted
#7A7F7C

Preview Lab

Preview with #128A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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