Skip to content

#4F842E Color

#4F842E is rgb(79, 132, 46) in RGB, hsl(97, 48%, 35%) in HSL, and about cmyk(40%, 0%, 65%, 48%) in CMYK. It has no registered color name of its own — the closest is Sap Green (#507D2A), very hard to tell apart at ΔE 3.88. Black text is the more readable choice on this background.

#4F842E
HEX#4F842E
RGBrgb(79, 132, 46)
HSLhsl(97, 48%, 35%)
HSVhsv(97, 65%, 52%)
CMYKcmyk(40%, 0%, 65%, 48%)
OKLCHoklch(55.7% 0.131 135.4)
LABlab(50.03% -30.32 39.15)
LCHlch(50.03% 49.52 127.76)

What #4F842E Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #4F842E, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every green in the library.

#4F842E Channel Values

How #4F842E breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 79 · G 132 · B 468-bit channels as sent to the display
HSLH 97° · S 48% · L 35%Easiest model for building lighter and darker variants
HSVH 97° · S 65% · V 52%Matches the picker in most design tools
CMYKC 40% · M 0% · Y 65% · K 48%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.49:1 vs white · 4.67:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #4F842E background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text4.49:1AA normal AA large AAA normal
TextBlack text4.67:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #4F842E in the contrast checker.

Colors That Go With #4F842E

Pairings derived from color-wheel relationships. The complementary color sits opposite #4F842E; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #4F842E

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #4F842E.

How #4F842E Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#4F842E
Protanopia#7D7D2F
Protanomaly#6D802E
Deuteranopia#767632
Deuteranomaly#687C30
Tritanopia#5B7D7D
Tritanomaly#568066
Achromatopsia#777777

Test a full palette in the color blindness simulator.

Using #4F842E in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-4f842e: #4F842E;
CSS backgroundbackground-color: #4F842E;
Tailwind configcolors: { 'color-4f842e': '#4F842E' }
SwiftUIColor(red: 0.310, green: 0.518, blue: 0.180)
Android XML<color name="color_4f842e">#4F842E</color>
SVG fillfill="#4F842E"

More Green Colors

#4F842E sits in the green family. These are its neighbours across that family's full range, each with its own breakdown.

#4F842E Frequently Asked Questions

What color is #4F842E?

#4F842E is a dark green — rgb(79, 132, 46) in RGB and hsl(97, 48%, 35%) in HSL. It carries no registered color name of its own; the closest named color is Sap Green (#507D2A), which is very hard to tell apart at a CIE76 distance of 3.88.

What is the RGB value of #4F842E?

#4F842E is rgb(79, 132, 46) — red 79, green 132, and blue 46 on the 0-255 scale.

What is the CMYK value of #4F842E?

#4F842E converts to approximately cmyk(40%, 0%, 65%, 48%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #4F842E be black or white?

Black text is the more readable choice. #4F842E scores 4.49:1 against white and 4.67:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #4F842E as a CSS color keyword?

No. #4F842E is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is olivedrab (#6B8E23) at a CIE76 distance of 12.39, which is visibly different.

Open #4F842E in a Tool

Keep exploring: every green in the color library, the guide to shades of green, or the full color library.