#4E794B#4E794B

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

Color values

HEX#4E794B
RGBrgb(78, 121, 75)
HSLhsl(116, 23%, 38%)
HSVhsv(116, 38%, 47%)
CMYKcmyk(35.5%, 0%, 38%, 52.5%)
CIE-LABlab(46.71, -24.83, 20.64)
CIE-LCHlch(46.71, 32.29, 140.26°)
OKLaboklab(53.2% -0.0677 0.0514)
OKLCHoklch(53.2% 0.085 142.8)
XYZxyz(11.2488, 15.8019, 9.1126)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E794B #764B79
analogous
#65794B #4E794B #4B795F
triadic
#4E794B #4B4E79 #794B4E
tetradic
#4E794B #4B6579 #764B79 #795F4B
square
#4E794B #4B6579 #764B79 #795F4B
split-complementary
#4E794B #5F4B79 #794B65
monochromatic
#1D2D1C #365334 #4E794B #679E63 #8CB689

Accessibility & contrast

On white

5.05
#4E794B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E794B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E794B#FFFFFF#000000##FFFFFF
##4E794B1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7148
Deuteranopia (green-blind)
#756D4E
Tritanopia (blue-blind)
#4A766D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e794b;
/* rgb */ color: rgb(78, 121, 75);
/* oklch */ color: oklch(53.2% 0.085 142.8);
Tailwind
colors: {
  custom: {
    50: '#81a07d',
    500: '#4e794b',
    950: '#000000',
  },
}
SCSS
$custom: #4e794b;
$custom-light: #81a07d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e794b",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 75
  },
  "hsl": {
    "h": 116.087,
    "s": 23.469,
    "l": 38.431
  },
  "oklch": {
    "l": 0.53197,
    "c": 0.08501,
    "h": 142.8
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

primary
#4E794B
secondary
#A07EA2
accent
#68C0BA
background
#F8F9F7
surface
#EFF2EE
border
#CACCC9
text
#0A0E0A
muted
#7C7E7C

Preview Lab

Preview with #4E794B

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

Preview Lab → · Contrast checker → · Palette generator →

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