#4A795B#4A795B

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

Color values

HEX#4A795B
RGBrgb(74, 121, 91)
HSLhsl(142, 24%, 38%)
HSVhsv(142, 39%, 47%)
CMYKcmyk(38.8%, 0%, 24.8%, 52.5%)
CIE-LABlab(46.82, -23.14, 11.50)
CIE-LCHlch(46.82, 25.84, 153.58°)
OKLaboklab(53.34% -0.0637 0.0294)
OKLCHoklch(53.34% 0.07 155.2)
XYZxyz(11.5490, 15.8852, 12.3531)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A795B #794A68
analogous
#50794A #4A795B #4A7972
triadic
#4A795B #5B4A79 #795B4A
tetradic
#4A795B #4A5079 #794A68 #79724A
square
#4A795B #4A5079 #794A68 #79724A
split-complementary
#4A795B #724A79 #794A50
monochromatic
#1C2D22 #33533E #4A795B #629F78 #87B698

Accessibility & contrast

On white

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

On black

4.18
#4A795B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4A795B#FFFFFF#000000##FFFFFF
##4A795B1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797259
Deuteranopia (green-blind)
#716D5D
Tritanopia (blue-blind)
#417871
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a795b;
/* rgb */ color: rgb(74, 121, 91);
/* oklch */ color: oklch(53.3% 0.070 155.2);
Tailwind
colors: {
  custom: {
    50: '#7ea089',
    500: '#4a795b',
    950: '#000000',
  },
}
SCSS
$custom: #4a795b;
$custom-light: #7ea089;
$custom-dark: #000000;
JSON
{
  "hex": "#4a795b",
  "rgb": {
    "r": 74,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 141.702,
    "s": 24.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.07016,
    "h": 155.2
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#4A795B
secondary
#A27D95
accent
#67A0C1
background
#F7F9F8
surface
#EEF2F0
border
#C9CCCB
text
#0A0E0B
muted
#7C7E7C

Preview Lab

Preview with #4A795B

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

Preview Lab → · Contrast checker → · Palette generator →

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