#4E794F#4E794F

#4E794F is a mid, moderate green. Relative luminance 0.159; OKLCH L 53.3% C 0.080 H 144.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4E794F
RGBrgb(78, 121, 79)
HSLhsl(121, 22%, 39%)
HSVhsv(121, 36%, 47%)
CMYKcmyk(35.5%, 0%, 34.7%, 52.5%)
CIE-LABlab(46.79, -24.13, 18.45)
CIE-LCHlch(46.79, 30.38, 142.59°)
OKLaboklab(53.28% -0.0658 0.0463)
OKLCHoklch(53.28% 0.08 144.9)
XYZxyz(11.3900, 15.8584, 9.8564)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E794F #794E78
analogous
#63794E #4E794F #4E7965
triadic
#4E794F #4F4E79 #794F4E
tetradic
#4E794F #4E6379 #794E78 #79654E
square
#4E794F #4E6379 #794E78 #79654E
split-complementary
#4E794F #654E79 #794E63
monochromatic
#1E2F1E #365437 #4E794F #679D68 #8CB58D

Accessibility & contrast

On white

5.03
#4E794F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E794F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E794F#FFFFFF#000000##FFFFFF
##4E794F1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724C
Deuteranopia (green-blind)
#746D51
Tritanopia (blue-blind)
#49776E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e794f;
/* rgb */ color: rgb(78, 121, 79);
/* oklch */ color: oklch(53.3% 0.080 144.9);
Tailwind
colors: {
  custom: {
    50: '#81a080',
    500: '#4e794f',
    950: '#000000',
  },
}
SCSS
$custom: #4e794f;
$custom-light: #81a080;
$custom-dark: #000000;
JSON
{
  "hex": "#4e794f",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 79
  },
  "hsl": {
    "h": 121.395,
    "s": 21.608,
    "l": 39.02
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.08045,
    "h": 144.9
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#4E794F
secondary
#A281A1
accent
#6ABCBE
background
#F8F9F7
surface
#EFF2EE
border
#CACCC9
text
#0A0E0A
muted
#7C7E7C

Preview Lab

Preview with #4E794F

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

Preview Lab → · Contrast checker → · Palette generator →

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