#128E5B#128E5B

#128E5B is a mid, vivid teal. Relative luminance 0.202; OKLCH L 57.2% C 0.128 H 158.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#128E5B
RGBrgb(18, 142, 91)
HSLhsl(155, 78%, 31%)
HSVhsv(155, 87%, 56%)
CMYKcmyk(87.3%, 0%, 35.9%, 44.3%)
CIE-LABlab(52.09, -44.01, 18.48)
CIE-LCHlch(52.09, 47.73, 157.23°)
OKLaboklab(57.19% -0.119 0.0465)
OKLCHoklch(57.19% 0.128 158.7)
XYZxyz(11.8095, 20.2284, 13.1776)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128E5B #8E1245
analogous
#128E1D #128E5B #12838E
triadic
#128E5B #5B128E #8E5B12
tetradic
#128E5B #1D128E #8E1245 #838E12
square
#128E5B #1D128E #8E1245 #838E12
split-complementary
#128E5B #8E1283 #8E1D12
monochromatic
#042115 #0B5838 #128E5B #19C47E #35E59D

Accessibility & contrast

On white

4.16
#128E5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#128E5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128E5B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128E5B#FFFFFF#000000##000000
##128E5B1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C8258
Deuteranopia (green-blind)
#7F785E
Tritanopia (blue-blind)
#008D81
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #128e5b;
/* rgb */ color: rgb(18, 142, 91);
/* oklch */ color: oklch(57.2% 0.128 158.7);
Tailwind
colors: {
  custom: {
    50: '#6ab089',
    500: '#128e5b',
    950: '#000000',
  },
}
SCSS
$custom: #128e5b;
$custom-light: #6ab089;
$custom-dark: #000000;
JSON
{
  "hex": "#128e5b",
  "rgb": {
    "r": 18,
    "g": 142,
    "b": 91
  },
  "hsl": {
    "h": 155.323,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.12778,
    "h": 158.7
  },
  "luminance": 0.2023
}

Semantic roles & 50–950 ramp

primary
#128E5B
secondary
#C23A72
accent
#3483F4
background
#F6FAF8
surface
#ECF5F0
border
#C7CFCB
text
#08110B
muted
#7A807C

Preview Lab

Preview with #128E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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