#128F5E#128F5E

#128F5E is a mid, vivid teal. Relative luminance 0.206; OKLCH L 57.5% C 0.126 H 159.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#128F5E
RGBrgb(18, 143, 94)
HSLhsl(156, 78%, 32%)
HSVhsv(156, 87%, 56%)
CMYKcmyk(87.4%, 0%, 34.3%, 43.9%)
CIE-LABlab(52.49, -43.74, 17.32)
CIE-LCHlch(52.49, 47.04, 158.39°)
OKLaboklab(57.54% -0.1185 0.0437)
OKLCHoklch(57.54% 0.126 159.7)
XYZxyz(12.0910, 20.5801, 13.9226)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F5E #8F1243
analogous
#128F20 #128F5E #12828F
triadic
#128F5E #5E128F #8F5E12
tetradic
#128F5E #20128F #8F1243 #828F12
square
#128F5E #20128F #8F1243 #828F12
split-complementary
#128F5E #8F1282 #8F2012
monochromatic
#042217 #0B593A #128F5E #19C582 #36E6A1

Accessibility & contrast

On white

4.10
#128F5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#128F5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F5E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F5E#FFFFFF#000000##000000
##128F5E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D835B
Deuteranopia (green-blind)
#7F7961
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #128f5e;
/* rgb */ color: rgb(18, 143, 94);
/* oklch */ color: oklch(57.5% 0.126 159.7);
Tailwind
colors: {
  custom: {
    50: '#6ab18c',
    500: '#128f5e',
    950: '#000000',
  },
}
SCSS
$custom: #128f5e;
$custom-light: #6ab18c;
$custom-dark: #000000;
JSON
{
  "hex": "#128f5e",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 94
  },
  "hsl": {
    "h": 156.48,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57536,
    "c": 0.12632,
    "h": 159.7
  },
  "luminance": 0.20582
}

Semantic roles & 50–950 ramp

primary
#128F5E
secondary
#C33A70
accent
#347FF4
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110C
muted
#7B807D

Preview Lab

Preview with #128F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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