#4E877C#4E877C

#4E877C is a mid, moderate teal. Relative luminance 0.204; OKLCH L 58.1% C 0.063 H 180.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E877C
RGBrgb(78, 135, 124)
HSLhsl(168, 27%, 42%)
HSVhsv(168, 42%, 53%)
CMYKcmyk(42.2%, 0%, 8.1%, 47.1%)
CIE-LABlab(52.29, -21.51, 0.04)
CIE-LCHlch(52.29, 21.51, 179.88°)
OKLaboklab(58.08% -0.0628 -0.0002)
OKLCHoklch(58.08% 0.063 180.2)
XYZxyz(15.4425, 20.4018, 22.1891)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E877C #874E59
analogous
#4E8760 #4E877C #4E7687
triadic
#4E877C #7C4E87 #877C4E
tetradic
#4E877C #604E87 #874E59 #76874E
square
#4E877C #604E87 #874E59 #76874E
split-complementary
#4E877C #874E76 #87604E
monochromatic
#213935 #386058 #4E877C #6AA99C #90BFB6

Accessibility & contrast

On white

4.13
#4E877C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4E877C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E877C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E877C#FFFFFF#000000##000000
##4E877C1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83817C
Deuteranopia (green-blind)
#797A7D
Tritanopia (blue-blind)
#398984
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e877c;
/* rgb */ color: rgb(78, 135, 124);
/* oklch */ color: oklch(58.1% 0.063 180.2);
Tailwind
colors: {
  custom: {
    50: '#83aaa1',
    500: '#4e877c',
    950: '#000000',
  },
}
SCSS
$custom: #4e877c;
$custom-light: #83aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e877c",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 168.421,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.06285,
    "h": 180.2
  },
  "luminance": 0.20403
}

Semantic roles & 50–950 ramp

primary
#4E877C
secondary
#AC858D
accent
#6577C3
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B100F
muted
#7C7F7E

Preview Lab

Preview with #4E877C

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

Preview Lab → · Contrast checker → · Palette generator →

#4E877C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva