#128A5D#128A5D

#128A5D is a mid, vivid teal. Relative luminance 0.191; OKLCH L 56.1% C 0.121 H 160.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#128A5D
RGBrgb(18, 138, 93)
HSLhsl(158, 77%, 31%)
HSVhsv(158, 87%, 54%)
CMYKcmyk(87%, 0%, 32.6%, 45.9%)
CIE-LABlab(50.80, -41.97, 15.58)
CIE-LCHlch(50.80, 44.77, 159.64°)
OKLaboklab(56.14% -0.114 0.0395)
OKLCHoklch(56.14% 0.121 160.9)
XYZxyz(11.3125, 19.0944, 13.4432)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128A5D #8A123F
analogous
#128A21 #128A5D #127B8A
triadic
#128A5D #5D128A #8A5D12
tetradic
#128A5D #21128A #8A123F #7B8A12
square
#128A5D #21128A #8A123F #7B8A12
split-complementary
#128A5D #8A127B #8A2112
monochromatic
#041E14 #0B5439 #128A5D #19C081 #32E4A1

Accessibility & contrast

On white

4.36
#128A5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#128A5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128A5D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128A5D#FFFFFF#000000##000000
##128A5D1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887F5A
Deuteranopia (green-blind)
#7A7560
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #128a5d;
/* rgb */ color: rgb(18, 138, 93);
/* oklch */ color: oklch(56.1% 0.121 160.9);
Tailwind
colors: {
  custom: {
    50: '#69ad8b',
    500: '#128a5d',
    950: '#000000',
  },
}
SCSS
$custom: #128a5d;
$custom-light: #69ad8b;
$custom-dark: #000000;
JSON
{
  "hex": "#128a5d",
  "rgb": {
    "r": 18,
    "g": 138,
    "b": 93
  },
  "hsl": {
    "h": 157.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.12066,
    "h": 160.9
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

primary
#128A5D
secondary
#BF396B
accent
#347CF3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100C
muted
#7A7F7D

Preview Lab

Preview with #128A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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