#128F5A#128F5A

#128F5A is a mid, vivid teal. Relative luminance 0.205; OKLCH L 57.4% C 0.130 H 157.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#128F5A
RGBrgb(18, 143, 90)
HSLhsl(155, 78%, 32%)
HSVhsv(155, 87%, 56%)
CMYKcmyk(87.4%, 0%, 37.1%, 43.9%)
CIE-LABlab(52.41, -44.62, 19.46)
CIE-LCHlch(52.41, 48.68, 156.44°)
OKLaboklab(57.45% -0.1205 0.0489)
OKLCHoklch(57.45% 0.13 157.9)
XYZxyz(11.9161, 20.5102, 13.0017)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F5A #8F1247
analogous
#128F1C #128F5A #12868F
triadic
#128F5A #5A128F #8F5A12
tetradic
#128F5A #1C128F #8F1247 #868F12
square
#128F5A #1C128F #8F1247 #868F12
split-complementary
#128F5A #8F1286 #8F1C12
monochromatic
#042216 #0B5938 #128F5A #19C57C #36E69B

Accessibility & contrast

On white

4.12
#128F5A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#128F5A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F5A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F5A#FFFFFF#000000##000000
##128F5A1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8357
Deuteranopia (green-blind)
#80795E
Tritanopia (blue-blind)
#008E81
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #128f5a;
/* rgb */ color: rgb(18, 143, 90);
/* oklch */ color: oklch(57.4% 0.130 157.9);
Tailwind
colors: {
  custom: {
    50: '#6ab189',
    500: '#128f5a',
    950: '#000000',
  },
}
SCSS
$custom: #128f5a;
$custom-light: #6ab189;
$custom-dark: #000000;
JSON
{
  "hex": "#128f5a",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 90
  },
  "hsl": {
    "h": 154.56,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57446,
    "c": 0.13003,
    "h": 157.9
  },
  "luminance": 0.20512
}

Semantic roles & 50–950 ramp

primary
#128F5A
secondary
#C33A74
accent
#3485F4
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110B
muted
#7B807C

Preview Lab

Preview with #128F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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