#128A5F#128A5F

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

Color values

HEX#128A5F
RGBrgb(18, 138, 95)
HSLhsl(159, 77%, 31%)
HSVhsv(159, 87%, 54%)
CMYKcmyk(87%, 0%, 31.2%, 45.9%)
CIE-LABlab(50.84, -41.50, 14.50)
CIE-LCHlch(50.84, 43.96, 160.75°)
OKLaboklab(56.18% -0.113 0.0368)
OKLCHoklch(56.18% 0.119 162)
XYZxyz(11.4022, 19.1303, 13.9158)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128A5F #8A123D
analogous
#128A23 #128A5F #12798A
triadic
#128A5F #5F128A #8A5F12
tetradic
#128A5F #23128A #8A123D #798A12
square
#128A5F #23128A #8A123D #798A12
split-complementary
#128A5F #8A1279 #8A2312
monochromatic
#041E14 #0B543A #128A5F #19C084 #32E4A4

Accessibility & contrast

On white

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

On black

4.83
#128A5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128A5F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128A5F#FFFFFF#000000##000000
##128A5F1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887F5C
Deuteranopia (green-blind)
#7A7562
Tritanopia (blue-blind)
#008A7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #128a5f;
/* rgb */ color: rgb(18, 138, 95);
/* oklch */ color: oklch(56.2% 0.119 162.0);
Tailwind
colors: {
  custom: {
    50: '#69ad8c',
    500: '#128a5f',
    950: '#000000',
  },
}
SCSS
$custom: #128a5f;
$custom-light: #69ad8c;
$custom-dark: #000000;
JSON
{
  "hex": "#128a5f",
  "rgb": {
    "r": 18,
    "g": 138,
    "b": 95
  },
  "hsl": {
    "h": 158.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56183,
    "c": 0.11885,
    "h": 162
  },
  "luminance": 0.19132
}

Semantic roles & 50–950 ramp

primary
#128A5F
secondary
#BF3969
accent
#3479F3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #128A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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