#4E794C#4E794C

#4E794C is a mid, moderate green. Relative luminance 0.158; OKLCH L 53.2% C 0.084 H 143.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E794C
RGBrgb(78, 121, 76)
HSLhsl(117, 23%, 39%)
HSVhsv(117, 37%, 47%)
CMYKcmyk(35.5%, 0%, 37.2%, 52.5%)
CIE-LABlab(46.73, -24.66, 20.10)
CIE-LCHlch(46.73, 31.81, 140.82°)
OKLaboklab(53.22% -0.0672 0.0501)
OKLCHoklch(53.22% 0.084 143.3)
XYZxyz(11.2833, 15.8157, 9.2943)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E794C #774C79
analogous
#64794C #4E794C #4C7960
triadic
#4E794C #4C4E79 #794C4E
tetradic
#4E794C #4C6479 #774C79 #79604C
square
#4E794C #4C6479 #774C79 #79604C
split-complementary
#4E794C #604C79 #794C64
monochromatic
#1E2E1D #365334 #4E794C #679E64 #8CB58A

Accessibility & contrast

On white

5.04
#4E794C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4E794C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E794C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E794C#FFFFFF#000000##FFFFFF
##4E794C1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7149
Deuteranopia (green-blind)
#746D4F
Tritanopia (blue-blind)
#4A766E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e794c;
/* rgb */ color: rgb(78, 121, 76);
/* oklch */ color: oklch(53.2% 0.084 143.3);
Tailwind
colors: {
  custom: {
    50: '#81a07e',
    500: '#4e794c',
    950: '#000000',
  },
}
SCSS
$custom: #4e794c;
$custom-light: #81a07e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e794c",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 76
  },
  "hsl": {
    "h": 117.333,
    "s": 22.843,
    "l": 38.627
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.08387,
    "h": 143.3
  },
  "luminance": 0.15816
}

Semantic roles & 50–950 ramp

primary
#4E794C
secondary
#A17FA2
accent
#68BFBB
background
#F8F9F7
surface
#EFF2EE
border
#CACCC9
text
#0A0E0A
muted
#7C7E7C

Preview Lab

Preview with #4E794C

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

Preview Lab → · Contrast checker → · Palette generator →

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