#4A795F#4A795F

#4A795F is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.4% C 0.066 H 158.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4A795F
RGBrgb(74, 121, 95)
HSLhsl(147, 24%, 38%)
HSVhsv(147, 39%, 47%)
CMYKcmyk(38.8%, 0%, 21.5%, 52.5%)
CIE-LABlab(46.92, -22.28, 9.28)
CIE-LCHlch(46.92, 24.14, 157.40°)
OKLaboklab(53.44% -0.0617 0.0238)
OKLCHoklch(53.44% 0.066 158.9)
XYZxyz(11.7262, 15.9561, 13.2862)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A795F #794A64
analogous
#4C794A #4A795F #4A7976
triadic
#4A795F #5F4A79 #795F4A
tetradic
#4A795F #4A4C79 #794A64 #79764A
square
#4A795F #4A4C79 #794A64 #79764A
split-complementary
#4A795F #764A79 #794A4C
monochromatic
#1C2D23 #335341 #4A795F #629F7D #87B69C

Accessibility & contrast

On white

5.01
#4A795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4A795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A795F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A795F#FFFFFF#000000##FFFFFF
##4A795F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725E
Deuteranopia (green-blind)
#716D61
Tritanopia (blue-blind)
#407872
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a795f;
/* rgb */ color: rgb(74, 121, 95);
/* oklch */ color: oklch(53.4% 0.066 158.9);
Tailwind
colors: {
  custom: {
    50: '#7ea08c',
    500: '#4a795f',
    950: '#000000',
  },
}
SCSS
$custom: #4a795f;
$custom-light: #7ea08c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a795f",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 146.809,
    "s": 24.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.53442,
    "c": 0.06618,
    "h": 158.9
  },
  "luminance": 0.15957
}

Semantic roles & 50–950 ramp

primary
#4A795F
secondary
#A27D91
accent
#6799C1
background
#F7F9F8
surface
#EEF2F0
border
#C9CCCB
text
#0A0E0C
muted
#7C7E7D

Preview Lab

Preview with #4A795F

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

Preview Lab → · Contrast checker → · Palette generator →

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