#128F5B#128F5B

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

Color values

HEX#128F5B
RGBrgb(18, 143, 91)
HSLhsl(155, 78%, 32%)
HSVhsv(155, 87%, 56%)
CMYKcmyk(87.4%, 0%, 36.4%, 43.9%)
CIE-LABlab(52.43, -44.40, 18.93)
CIE-LCHlch(52.43, 48.27, 156.91°)
OKLaboklab(57.47% -0.12 0.0476)
OKLCHoklch(57.47% 0.129 158.4)
XYZxyz(11.9590, 20.5273, 13.2274)
Luminance0.2053 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F5B #8F1246
analogous
#128F1D #128F5B #12858F
triadic
#128F5B #5B128F #8F5B12
tetradic
#128F5B #1D128F #8F1246 #858F12
square
#128F5B #1D128F #8F1246 #858F12
split-complementary
#128F5B #8F1285 #8F1D12
monochromatic
#042216 #0B5938 #128F5B #19C57E #36E69C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128F5B#FFFFFF#000000##000000
##128F5B1.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)
#8E8358
Deuteranopia (green-blind)
#80795E
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #128f5b;
/* rgb */ color: rgb(18, 143, 91);
/* oklch */ color: oklch(57.5% 0.129 158.4);
Tailwind
colors: {
  custom: {
    50: '#6ab189',
    500: '#128f5b',
    950: '#000000',
  },
}
SCSS
$custom: #128f5b;
$custom-light: #6ab189;
$custom-dark: #000000;
JSON
{
  "hex": "#128f5b",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 91
  },
  "hsl": {
    "h": 155.04,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57468,
    "c": 0.1291,
    "h": 158.4
  },
  "luminance": 0.20529
}

Semantic roles & 50–950 ramp

primary
#128F5B
secondary
#C33A73
accent
#3484F4
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110B
muted
#7B807C

Preview Lab

Preview with #128F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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