#4D6420#4D6420

#4D6420 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.9% C 0.098 H 125.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4D6420
RGBrgb(77, 100, 32)
HSLhsl(80, 52%, 26%)
HSVhsv(80, 68%, 39%)
CMYKcmyk(23%, 0%, 68%, 60.8%)
CIE-LABlab(39.24, -20.08, 34.59)
CIE-LCHlch(39.24, 40.00, 120.13°)
OKLaboklab(46.93% -0.0573 0.0792)
OKLCHoklch(46.93% 0.098 125.9)
XYZxyz(7.8785, 10.7963, 3.0350)
Luminance0.1080 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6420 #372064
analogous
#645920 #4D6420 #2B6420
triadic
#4D6420 #204D64 #64204D
tetradic
#4D6420 #206459 #372064 #64202B
square
#4D6420 #206459 #372064 #64202B
split-complementary
#4D6420 #202B64 #592064
monochromatic
#121707 #293611 #4D6420 #71922F #94C13E

Accessibility & contrast

On white

6.65
#4D6420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4D6420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6420
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6420#FFFFFF#000000##FFFFFF
##4D64201.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D17
Deuteranopia (green-blind)
#665C25
Tritanopia (blue-blind)
#505F56
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d6420;
/* rgb */ color: rgb(77, 100, 32);
/* oklch */ color: oklch(46.9% 0.098 125.9);
Tailwind
colors: {
  custom: {
    50: '#81905f',
    500: '#4d6420',
    950: '#000000',
  },
}
SCSS
$custom: #4d6420;
$custom-light: #81905f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6420",
  "rgb": {
    "r": 77,
    "g": 100,
    "b": 32
  },
  "hsl": {
    "h": 80.294,
    "s": 51.515,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.09776,
    "h": 125.9
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#4D6420
secondary
#634898
accent
#4DDB7D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4D6420

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

Preview Lab → · Contrast checker → · Palette generator →

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