Skip to content

#54842A Color

#54842A is rgb(84, 132, 42) in RGB, hsl(92, 52%, 34%) in HSL, and about cmyk(36%, 0%, 68%, 48%) in CMYK. It has no registered color name of its own — the closest is Maximum Green (#5E8C31), very hard to tell apart at ΔE 3.31. Black text is the more readable choice on this background.

#54842A
HEX#54842A
RGBrgb(84, 132, 42)
HSLhsl(92, 52%, 34%)
HSVhsv(92, 68%, 52%)
CMYKcmyk(36%, 0%, 68%, 48%)
OKLCHoklch(56% 0.131 133.2)
LABlab(50.28% -28.76 41.25)
LCHlch(50.28% 50.29 124.89)

What #54842A 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 #54842A, 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.

#54842A Channel Values

How #54842A 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 84 · G 132 · B 428-bit channels as sent to the display
HSLH 92° · S 52% · L 34%Easiest model for building lighter and darker variants
HSVH 92° · S 68% · V 52%Matches the picker in most design tools
CMYKC 36% · M 0% · Y 68% · K 48%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.46:1 vs white · 4.71:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #54842A 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.46:1AA normal AA large AAA normal
TextBlack text4.71:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #54842A in the contrast checker.

Colors That Go With #54842A

Pairings derived from color-wheel relationships. The complementary color sits opposite #54842A; 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 #54842A

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 #54842A.

How #54842A 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#54842A
Protanopia#7D7D2B
Protanomaly#6F802A
Deuteranopia#77772E
Deuteranomaly#6B7C2C
Tritanopia#5F7D7D
Tritanomaly#5B8066
Achromatopsia#777777

Test a full palette in the color blindness simulator.

Using #54842A in Code

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

CSS custom property--color-54842a: #54842A;
CSS backgroundbackground-color: #54842A;
Tailwind configcolors: { 'color-54842a': '#54842A' }
SwiftUIColor(red: 0.329, green: 0.518, blue: 0.165)
Android XML<color name="color_54842a">#54842A</color>
SVG fillfill="#54842A"

More Green Colors

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

#54842A Frequently Asked Questions

What color is #54842A?

#54842A is a dark green — rgb(84, 132, 42) in RGB and hsl(92, 52%, 34%) in HSL. It carries no registered color name of its own; the closest named color is Maximum Green (#5E8C31), which is very hard to tell apart at a CIE76 distance of 3.31.

What is the RGB value of #54842A?

#54842A is rgb(84, 132, 42) — red 84, green 132, and blue 42 on the 0-255 scale.

What is the CMYK value of #54842A?

#54842A converts to approximately cmyk(36%, 0%, 68%, 48%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #54842A be black or white?

Black text is the more readable choice. #54842A scores 4.46:1 against white and 4.71:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #54842A as a CSS color keyword?

No. #54842A 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 9.93, which is clearly related but distinguishable side by side.

Open #54842A in a Tool

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