#4D6940#4D6940

#4D6940 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.7% C 0.071 H 136.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4D6940
RGBrgb(77, 105, 64)
HSLhsl(101, 24%, 33%)
HSVhsv(101, 39%, 41%)
CMYKcmyk(26.7%, 0%, 39%, 58.8%)
CIE-LABlab(41.30, -18.76, 19.83)
CIE-LCHlch(41.30, 27.30, 133.41°)
OKLaboklab(48.74% -0.0512 0.0492)
OKLCHoklch(48.74% 0.071 136.2)
XYZxyz(9.0373, 12.0508, 6.6994)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6940 #5C4069
analogous
#616940 #4D6940 #406947
triadic
#4D6940 #404D69 #69404D
tetradic
#4D6940 #406169 #5C4069 #694740
square
#4D6940 #406169 #5C4069 #694740
split-complementary
#4D6940 #474069 #694061
monochromatic
#151D12 #314329 #4D6940 #698F57 #88AC77

Accessibility & contrast

On white

6.16
#4D6940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4D6940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6940
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6940#FFFFFF#000000##FFFFFF
##4D69401.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C633D
Deuteranopia (green-blind)
#686042
Tritanopia (blue-blind)
#4C665F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d6940;
/* rgb */ color: rgb(77, 105, 64);
/* oklch */ color: oklch(48.7% 0.071 136.2);
Tailwind
colors: {
  custom: {
    50: '#809475',
    500: '#4d6940',
    950: '#000000',
  },
}
SCSS
$custom: #4d6940;
$custom-light: #809475;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6940",
  "rgb": {
    "r": 77,
    "g": 105,
    "b": 64
  },
  "hsl": {
    "h": 100.976,
    "s": 24.26,
    "l": 33.137
  },
  "oklch": {
    "l": 0.48737,
    "c": 0.07102,
    "h": 136.2
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#4D6940
secondary
#8A6D98
accent
#67C1A4
background
#F7F9F7
surface
#EEF1ED
border
#C9CBC8
text
#0A0D08
muted
#7C7E7B

Preview Lab

Preview with #4D6940

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

Preview Lab → · Contrast checker → · Palette generator →

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