#128058#128058

#128058 is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.2% C 0.112 H 161.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#128058
RGBrgb(18, 128, 88)
HSLhsl(158, 75%, 29%)
HSVhsv(158, 86%, 50%)
CMYKcmyk(85.9%, 0%, 31.3%, 49.8%)
CIE-LABlab(47.33, -39.07, 13.67)
CIE-LCHlch(47.33, 41.39, 160.71°)
OKLaboklab(53.24% -0.1064 0.0347)
OKLCHoklch(53.24% 0.112 161.9)
XYZxyz(9.7290, 16.2703, 11.8583)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128058 #80123A
analogous
#128021 #128058 #127180
triadic
#128058 #581280 #805812
tetradic
#128058 #211280 #80123A #718012
square
#128058 #211280 #80123A #718012
split-complementary
#128058 #801271 #802112
monochromatic
#041B12 #0A4A33 #128058 #1AB67D #2BE19F

Accessibility & contrast

On white

4.94
#128058 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#128058 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128058
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128058#FFFFFF#000000##FFFFFF
##1280581.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7656
Deuteranopia (green-blind)
#716D5B
Tritanopia (blue-blind)
#008075
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #128058;
/* rgb */ color: rgb(18, 128, 88);
/* oklch */ color: oklch(53.2% 0.112 161.9);
Tailwind
colors: {
  custom: {
    50: '#67a687',
    500: '#128058',
    950: '#000000',
  },
}
SCSS
$custom: #128058;
$custom-light: #67a687;
$custom-dark: #000000;
JSON
{
  "hex": "#128058",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 88
  },
  "hsl": {
    "h": 158.182,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53239,
    "c": 0.11194,
    "h": 161.9
  },
  "luminance": 0.16272
}

Semantic roles & 50–950 ramp

primary
#128058
secondary
#B63866
accent
#367AF2
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #128058

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

Preview Lab → · Contrast checker → · Palette generator →

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