#4D7948#4D7948

#4D7948 is a mid, moderate green. Relative luminance 0.157; OKLCH L 53.1% C 0.089 H 141.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4D7948
RGBrgb(77, 121, 72)
HSLhsl(114, 25%, 38%)
HSVhsv(114, 40%, 47%)
CMYKcmyk(36.4%, 0%, 40.5%, 52.5%)
CIE-LABlab(46.60, -25.69, 22.19)
CIE-LCHlch(46.60, 33.95, 139.18°)
OKLaboklab(53.08% -0.0701 0.055)
OKLCHoklch(53.08% 0.089 141.9)
XYZxyz(11.0672, 15.7199, 8.5807)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7948 #744879
analogous
#657948 #4D7948 #48795B
triadic
#4D7948 #484D79 #79484D
tetradic
#4D7948 #486579 #744879 #795B48
square
#4D7948 #486579 #744879 #795B48
split-complementary
#4D7948 #5B4879 #794865
monochromatic
#1C2C1A #355331 #4D7948 #659F5F #8AB685

Accessibility & contrast

On white

5.07
#4D7948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4D7948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7948
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7948#FFFFFF#000000##FFFFFF
##4D79481.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7145
Deuteranopia (green-blind)
#756D4B
Tritanopia (blue-blind)
#49766D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4d7948;
/* rgb */ color: rgb(77, 121, 72);
/* oklch */ color: oklch(53.1% 0.089 141.9);
Tailwind
colors: {
  custom: {
    50: '#81a07b',
    500: '#4d7948',
    950: '#000000',
  },
}
SCSS
$custom: #4d7948;
$custom-light: #81a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7948",
  "rgb": {
    "r": 77,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 113.878,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.08905,
    "h": 141.9
  },
  "luminance": 0.1572
}

Semantic roles & 50–950 ramp

primary
#4D7948
secondary
#9E7AA2
accent
#66C2B8
background
#F8F9F7
surface
#EFF2EE
border
#CACCC9
text
#0A0E09
muted
#7C7E7B

Preview Lab

Preview with #4D7948

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

Preview Lab → · Contrast checker → · Palette generator →

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