#128F5C#128F5C

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

Color values

HEX#128F5C
RGBrgb(18, 143, 92)
HSLhsl(156, 78%, 32%)
HSVhsv(156, 87%, 56%)
CMYKcmyk(87.4%, 0%, 35.7%, 43.9%)
CIE-LABlab(52.45, -44.18, 18.39)
CIE-LCHlch(52.45, 47.86, 157.40°)
OKLaboklab(57.49% -0.1195 0.0463)
OKLCHoklch(57.49% 0.128 158.8)
XYZxyz(12.0024, 20.5447, 13.4561)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F5C #8F1245
analogous
#128F1E #128F5C #12848F
triadic
#128F5C #5C128F #8F5C12
tetradic
#128F5C #1E128F #8F1245 #848F12
square
#128F5C #1E128F #8F1245 #848F12
split-complementary
#128F5C #8F1284 #8F1E12
monochromatic
#042216 #0B5939 #128F5C #19C57F #36E69E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128F5C#FFFFFF#000000##000000
##128F5C1.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)
#8D8359
Deuteranopia (green-blind)
#80795F
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #128f5c;
/* rgb */ color: rgb(18, 143, 92);
/* oklch */ color: oklch(57.5% 0.128 158.8);
Tailwind
colors: {
  custom: {
    50: '#6ab18a',
    500: '#128f5c',
    950: '#000000',
  },
}
SCSS
$custom: #128f5c;
$custom-light: #6ab18a;
$custom-dark: #000000;
JSON
{
  "hex": "#128f5c",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 92
  },
  "hsl": {
    "h": 155.52,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5749,
    "c": 0.12817,
    "h": 158.8
  },
  "luminance": 0.20546
}

Semantic roles & 50–950 ramp

primary
#128F5C
secondary
#C33A72
accent
#3482F4
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110C
muted
#7B807D

Preview Lab

Preview with #128F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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