#4E795B#4E795B

#4E795B is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.6% C 0.067 H 153.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E795B
RGBrgb(78, 121, 91)
HSLhsl(138, 22%, 39%)
HSVhsv(138, 36%, 47%)
CMYKcmyk(35.5%, 0%, 24.8%, 52.5%)
CIE-LABlab(47.04, -21.82, 11.83)
CIE-LCHlch(47.04, 24.82, 151.54°)
OKLaboklab(53.57% -0.06 0.0302)
OKLCHoklch(53.57% 0.067 153.2)
XYZxyz(11.8669, 16.0492, 12.3680)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E795B #794E6C
analogous
#57794E #4E795B #4E7971
triadic
#4E795B #5B4E79 #795B4E
tetradic
#4E795B #4E5779 #794E6C #79714E
square
#4E795B #4E5779 #794E6C #79714E
split-complementary
#4E795B #714E79 #794E57
monochromatic
#1E2F23 #36543F #4E795B #679D77 #8CB599

Accessibility & contrast

On white

4.99
#4E795B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4E795B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E795B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E795B#FFFFFF#000000##FFFFFF
##4E795B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797259
Deuteranopia (green-blind)
#726E5D
Tritanopia (blue-blind)
#477871
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e795b;
/* rgb */ color: rgb(78, 121, 91);
/* oklch */ color: oklch(53.6% 0.067 153.2);
Tailwind
colors: {
  custom: {
    50: '#81a089',
    500: '#4e795b',
    950: '#000000',
  },
}
SCSS
$custom: #4e795b;
$custom-light: #81a089;
$custom-dark: #000000;
JSON
{
  "hex": "#4e795b",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 138.14,
    "s": 21.608,
    "l": 39.02
  },
  "oklch": {
    "l": 0.53567,
    "c": 0.06717,
    "h": 153.2
  },
  "luminance": 0.1605
}

Semantic roles & 50–950 ramp

primary
#4E795B
secondary
#A28198
accent
#6AA5BE
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0A0E0B
muted
#7C7E7C

Preview Lab

Preview with #4E795B

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

Preview Lab → · Contrast checker → · Palette generator →

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