#4E877A#4E877A

#4E877A is a mid, moderate teal. Relative luminance 0.204; OKLCH L 58.0% C 0.064 H 177.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4E877A
RGBrgb(78, 135, 122)
HSLhsl(166, 27%, 42%)
HSVhsv(166, 42%, 53%)
CMYKcmyk(42.2%, 0%, 9.6%, 47.1%)
CIE-LABlab(52.23, -22.01, 1.13)
CIE-LCHlch(52.23, 22.04, 177.07°)
OKLaboklab(58.02% -0.0638 0.0026)
OKLCHoklch(58.02% 0.064 177.6)
XYZxyz(15.3173, 20.3517, 21.5297)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E877A #874E5B
analogous
#4E875E #4E877A #4E7887
triadic
#4E877A #7A4E87 #877A4E
tetradic
#4E877A #5E4E87 #874E5B #78874E
square
#4E877A #5E4E87 #874E5B #78874E
split-complementary
#4E877A #874E78 #875E4E
monochromatic
#213934 #386057 #4E877A #6AA99A #90BFB4

Accessibility & contrast

On white

4.14
#4E877A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4E877A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E877A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E877A#FFFFFF#000000##000000
##4E877A1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#838179
Deuteranopia (green-blind)
#797A7B
Tritanopia (blue-blind)
#3A8983
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e877a;
/* rgb */ color: rgb(78, 135, 122);
/* oklch */ color: oklch(58.0% 0.064 177.6);
Tailwind
colors: {
  custom: {
    50: '#83aaa0',
    500: '#4e877a',
    950: '#000000',
  },
}
SCSS
$custom: #4e877a;
$custom-light: #83aaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e877a",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 122
  },
  "hsl": {
    "h": 166.316,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.06383,
    "h": 177.6
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#4E877A
secondary
#AC858E
accent
#657AC3
background
#F8FAF9
surface
#EFF4F2
border
#CACECC
text
#0B100E
muted
#7C7F7E

Preview Lab

Preview with #4E877A

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

Preview Lab → · Contrast checker → · Palette generator →

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