#4D7420#4D7420

#4D7420 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.121 H 131.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4D7420
RGBrgb(77, 116, 32)
HSLhsl(88, 57%, 29%)
HSVhsv(88, 72%, 45%)
CMYKcmyk(33.6%, 0%, 72.4%, 54.5%)
CIE-LABlab(44.48, -28.10, 40.10)
CIE-LCHlch(44.48, 48.97, 125.03°)
OKLaboklab(51.19% -0.0794 0.0908)
OKLCHoklch(51.19% 0.121 131.2)
XYZxyz(9.5666, 14.1725, 3.5977)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7420 #472074
analogous
#747120 #4D7420 #237420
triadic
#4D7420 #204D74 #74204D
tetradic
#4D7420 #207471 #472074 #742023
square
#4D7420 #207471 #472074 #742023
split-complementary
#4D7420 #202374 #712074
monochromatic
#101807 #2D4413 #4D7420 #6DA42D #8CCB43

Accessibility & contrast

On white

5.48
#4D7420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4D7420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7420
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7420#FFFFFF#000000##FFFFFF
##4D74201.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B13
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#4F6F63
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d7420;
/* rgb */ color: rgb(77, 116, 32);
/* oklch */ color: oklch(51.2% 0.121 131.2);
Tailwind
colors: {
  custom: {
    50: '#829c61',
    500: '#4d7420',
    950: '#000000',
  },
}
SCSS
$custom: #4d7420;
$custom-light: #829c61;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7420",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 87.857,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.12056,
    "h": 131.2
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#4D7420
secondary
#7448A8
accent
#48E08E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4D7420

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

Preview Lab → · Contrast checker → · Palette generator →

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