#4D6020#4D6020

#4D6020 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.9% C 0.092 H 124.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4D6020
RGBrgb(77, 96, 32)
HSLhsl(78, 50%, 25%)
HSVhsv(78, 67%, 38%)
CMYKcmyk(19.8%, 0%, 66.7%, 62.4%)
CIE-LABlab(37.93, -17.95, 33.18)
CIE-LCHlch(37.93, 37.73, 118.41°)
OKLaboklab(45.88% -0.0514 0.0762)
OKLCHoklch(45.88% 0.092 124)
XYZxyz(7.5042, 10.0478, 2.9103)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6020 #332060
analogous
#605320 #4D6020 #2D6020
triadic
#4D6020 #204D60 #60204D
tetradic
#4D6020 #206053 #332060 #60202D
square
#4D6020 #206053 #332060 #60202D
split-complementary
#4D6020 #202D60 #532060
monochromatic
#121708 #283211 #4D6020 #728E2F #97BC3F

Accessibility & contrast

On white

6.98
#4D6020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4D6020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6020
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6020#FFFFFF#000000##FFFFFF
##4D60201.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A18
Deuteranopia (green-blind)
#635925
Tritanopia (blue-blind)
#515B53
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d6020;
/* rgb */ color: rgb(77, 96, 32);
/* oklch */ color: oklch(45.9% 0.092 124.0);
Tailwind
colors: {
  custom: {
    50: '#818d5f',
    500: '#4d6020',
    950: '#000000',
  },
}
SCSS
$custom: #4d6020;
$custom-light: #818d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6020",
  "rgb": {
    "r": 77,
    "g": 96,
    "b": 32
  },
  "hsl": {
    "h": 77.813,
    "s": 50,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45875,
    "c": 0.09193,
    "h": 124
  },
  "luminance": 0.10048
}

Semantic roles & 50–950 ramp

primary
#4D6020
secondary
#5E4794
accent
#4EDA78
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C05
muted
#7C7D79

Preview Lab

Preview with #4D6020

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

Preview Lab → · Contrast checker → · Palette generator →

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