#128A5C#128A5C

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

Color values

HEX#128A5C
RGBrgb(18, 138, 92)
HSLhsl(157, 77%, 31%)
HSVhsv(157, 87%, 54%)
CMYKcmyk(87%, 0%, 33.3%, 45.9%)
CIE-LABlab(50.78, -42.20, 16.12)
CIE-LCHlch(50.78, 45.18, 159.10°)
OKLaboklab(56.11% -0.1145 0.0408)
OKLCHoklch(56.11% 0.122 160.4)
XYZxyz(11.2685, 19.0768, 13.2114)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128A5C #8A1240
analogous
#128A20 #128A5C #127C8A
triadic
#128A5C #5C128A #8A5C12
tetradic
#128A5C #20128A #8A1240 #7C8A12
square
#128A5C #20128A #8A1240 #7C8A12
split-complementary
#128A5C #8A127C #8A2012
monochromatic
#041E14 #0B5438 #128A5C #19C080 #32E4A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128A5C#FFFFFF#000000##000000
##128A5C1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #128a5c;
/* rgb */ color: rgb(18, 138, 92);
/* oklch */ color: oklch(56.1% 0.122 160.4);
Tailwind
colors: {
  custom: {
    50: '#69ad8a',
    500: '#128a5c',
    950: '#000000',
  },
}
SCSS
$custom: #128a5c;
$custom-light: #69ad8a;
$custom-dark: #000000;
JSON
{
  "hex": "#128a5c",
  "rgb": {
    "r": 18,
    "g": 138,
    "b": 92
  },
  "hsl": {
    "h": 157,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56111,
    "c": 0.12156,
    "h": 160.4
  },
  "luminance": 0.19078
}

Semantic roles & 50–950 ramp

primary
#128A5C
secondary
#BF396C
accent
#347EF3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100B
muted
#7A7F7C

Preview Lab

Preview with #128A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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