#4E794D#4E794D

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

Color values

HEX#4E794D
RGBrgb(78, 121, 77)
HSLhsl(119, 22%, 39%)
HSVhsv(119, 36%, 47%)
CMYKcmyk(35.5%, 0%, 36.4%, 52.5%)
CIE-LABlab(46.75, -24.49, 19.55)
CIE-LCHlch(46.75, 31.33, 141.39°)
OKLaboklab(53.24% -0.0668 0.0489)
OKLCHoklch(53.24% 0.083 143.8)
XYZxyz(11.3183, 15.8297, 9.4788)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E794D #784D79
analogous
#64794D #4E794D #4D7962
triadic
#4E794D #4D4E79 #794D4E
tetradic
#4E794D #4D6479 #784D79 #79624D
square
#4E794D #4D6479 #784D79 #79624D
split-complementary
#4E794D #624D79 #794D64
monochromatic
#1E2E1D #365435 #4E794D #679D66 #8CB58B

Accessibility & contrast

On white

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

On black

4.17
#4E794D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E794D#FFFFFF#000000##FFFFFF
##4E794D1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B714A
Deuteranopia (green-blind)
#746D50
Tritanopia (blue-blind)
#4A776E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e794d;
/* rgb */ color: rgb(78, 121, 77);
/* oklch */ color: oklch(53.2% 0.083 143.8);
Tailwind
colors: {
  custom: {
    50: '#81a07f',
    500: '#4e794d',
    950: '#000000',
  },
}
SCSS
$custom: #4e794d;
$custom-light: #81a07f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e794d",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 77
  },
  "hsl": {
    "h": 118.636,
    "s": 22.222,
    "l": 38.824
  },
  "oklch": {
    "l": 0.53239,
    "c": 0.08274,
    "h": 143.8
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#4E794D
secondary
#A180A2
accent
#69BFBD
background
#F8F9F7
surface
#EFF2EE
border
#CACCC9
text
#0A0E0A
muted
#7C7E7C

Preview Lab

Preview with #4E794D

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

Preview Lab → · Contrast checker → · Palette generator →

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