#128158#128158

#128158 is a mid, moderate teal. Relative luminance 0.165; OKLCH L 53.5% C 0.113 H 161.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#128158
RGBrgb(18, 129, 88)
HSLhsl(158, 76%, 29%)
HSVhsv(158, 86%, 51%)
CMYKcmyk(86%, 0%, 31.8%, 49.4%)
CIE-LABlab(47.67, -39.48, 14.14)
CIE-LCHlch(47.67, 41.94, 160.30°)
OKLaboklab(53.52% -0.1074 0.0359)
OKLCHoklch(53.52% 0.113 161.5)
XYZxyz(9.8601, 16.5324, 11.9020)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128158 #81123B
analogous
#128121 #128158 #127381
triadic
#128158 #581281 #815812
tetradic
#128158 #211281 #81123B #738112
square
#128158 #211281 #81123B #738112
split-complementary
#128158 #811273 #812112
monochromatic
#041B12 #0B4B33 #128158 #19B77D #2CE29E

Accessibility & contrast

On white

4.88
#128158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#128158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128158
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128158#FFFFFF#000000##FFFFFF
##1281581.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7756
Deuteranopia (green-blind)
#726D5B
Tritanopia (blue-blind)
#008176
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #128158;
/* rgb */ color: rgb(18, 129, 88);
/* oklch */ color: oklch(53.5% 0.113 161.5);
Tailwind
colors: {
  custom: {
    50: '#67a687',
    500: '#128158',
    950: '#000000',
  },
}
SCSS
$custom: #128158;
$custom-light: #67a687;
$custom-dark: #000000;
JSON
{
  "hex": "#128158",
  "rgb": {
    "r": 18,
    "g": 129,
    "b": 88
  },
  "hsl": {
    "h": 157.838,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.11327,
    "h": 161.5
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#128158
secondary
#B73867
accent
#367BF2
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #128158

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

Preview Lab → · Contrast checker → · Palette generator →

#128158 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva