#128F5D#128F5D

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

Color values

HEX#128F5D
RGBrgb(18, 143, 93)
HSLhsl(156, 78%, 32%)
HSVhsv(156, 87%, 56%)
CMYKcmyk(87.4%, 0%, 35%, 43.9%)
CIE-LABlab(52.47, -43.96, 17.86)
CIE-LCHlch(52.47, 47.45, 157.89°)
OKLaboklab(57.51% -0.119 0.045)
OKLCHoklch(57.51% 0.127 159.3)
XYZxyz(12.0464, 20.5623, 13.6878)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F5D #8F1244
analogous
#128F1F #128F5D #12838F
triadic
#128F5D #5D128F #8F5D12
tetradic
#128F5D #1F128F #8F1244 #838F12
square
#128F5D #1F128F #8F1244 #838F12
split-complementary
#128F5D #8F1283 #8F1F12
monochromatic
#042216 #0B593A #128F5D #19C580 #36E69F

Accessibility & contrast

On white

4.11
#128F5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#128F5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F5D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F5D#FFFFFF#000000##000000
##128F5D1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #128f5d;
/* rgb */ color: rgb(18, 143, 93);
/* oklch */ color: oklch(57.5% 0.127 159.3);
Tailwind
colors: {
  custom: {
    50: '#6ab18b',
    500: '#128f5d',
    950: '#000000',
  },
}
SCSS
$custom: #128f5d;
$custom-light: #6ab18b;
$custom-dark: #000000;
JSON
{
  "hex": "#128f5d",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 93
  },
  "hsl": {
    "h": 156,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57513,
    "c": 0.12724,
    "h": 159.3
  },
  "luminance": 0.20564
}

Semantic roles & 50–950 ramp

primary
#128F5D
secondary
#C33A71
accent
#3481F4
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110C
muted
#7B807D

Preview Lab

Preview with #128F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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