#128371#128371

#128371 is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.8% C 0.097 H 178.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#128371
RGBrgb(18, 131, 113)
HSLhsl(170, 76%, 29%)
HSVhsv(170, 86%, 51%)
CMYKcmyk(86.3%, 0%, 13.7%, 48.6%)
CIE-LABlab(48.95, -33.77, 1.39)
CIE-LCHlch(48.95, 33.80, 177.65°)
OKLaboklab(54.77% -0.0967 0.0032)
OKLCHoklch(54.77% 0.097 178.1)
XYZxyz(11.3448, 17.5520, 18.4095)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128371 #831224
analogous
#128338 #128371 #125D83
triadic
#128371 #711283 #837112
tetradic
#128371 #381283 #831224 #5D8312
square
#128371 #381283 #831224 #5D8312
split-complementary
#128371 #83125D #833812
monochromatic
#041B17 #0B4D43 #128371 #19B99F #2DE2C5

Accessibility & contrast

On white

4.66
#128371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#128371 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #128371
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128371#FFFFFF#000000##FFFFFF
##1283711.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#6F7072
Tritanopia (blue-blind)
#00857E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #128371;
/* rgb */ color: rgb(18, 131, 113);
/* oklch */ color: oklch(54.8% 0.097 178.1);
Tailwind
colors: {
  custom: {
    50: '#69a899',
    500: '#128371',
    950: '#000000',
  },
}
SCSS
$custom: #128371;
$custom-light: #69a899;
$custom-dark: #000000;
JSON
{
  "hex": "#128371",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 113
  },
  "hsl": {
    "h": 170.442,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54774,
    "c": 0.09678,
    "h": 178.1
  },
  "luminance": 0.17553
}

Semantic roles & 50–950 ramp

primary
#128371
secondary
#B8384D
accent
#3553F2
background
#F6FAF9
surface
#ECF4F2
border
#C7CECC
text
#070F0E
muted
#7A7F7E

Preview Lab

Preview with #128371

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

Preview Lab → · Contrast checker → · Palette generator →

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