Toolman

#4D7C0F color

#4D7C0F#4D7C0F

The swatch above shows #4D7C0F with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#4D7C0F is a dark, vivid yellow-green, closest to the CSS named color darkolivegreen (#556B2F).

It is also a Tailwind CSS default: lime-700. That means you can write bg-lime-700 or text-lime-700 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#4D7C0F
RGBrgb(77, 124, 15)
HSLhsl(86, 78%, 27%)
CMYKcmyk(38%, 0%, 88%, 51%)
Decimal5078031
CSScolor: #4D7C0F;
Android0xFF4D7C0F
SwiftUIColor(red: 0.302, green: 0.486, blue: 0.059, alpha: 1)

Accessibility and contrast

White text on #4D7C0F4.99:1 — AA pass · AA large pass · AAA fail
Black text on #4D7C0F4.21:1 — AA fail · AA large pass · AAA fail
Recommended text colorwhite

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #4D7C0F

Each swatch keeps the hue and saturation of #4D7C0F and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #4D7C0F

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #4D7C0F in code

/* CSS */
.element { color: #4D7C0F; background-color: #4D7C0F; }
.element { color: rgb(77 124 15); }
.element { color: hsl(86 78% 27%); }

/* Tailwind */
<div class="bg-lime-700 text-white">

/* SCSS variable */
$brand: #4D7C0F;

Frequently asked questions

What color is #4D7C0F?

#4D7C0F is a dark, vivid yellow-green. Its hue sits at 86° on the color wheel, with 78% saturation and 27% lightness.

What is #4D7C0F in RGB?

#4D7C0F converts to rgb(77, 124, 15) — 77 red, 124 green and 15 blue.

What is #4D7C0F in CMYK?

Approximately cmyk(38%, 0%, 88%, 51%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #4D7C0F be white or black?

White gives the better contrast ratio (4.99:1 versus 4.21:1).

What is the complementary color of #4D7C0F?

#3E0F7B — the hue directly opposite #4D7C0F on the color wheel.

Convert any color → · Browse all colors