Skip to content

#31842E Color

#31842E is rgb(49, 132, 46) in RGB, hsl(118, 48%, 35%) in HSL, and about cmyk(63%, 0%, 65%, 48%) in CMYK. It has no registered color name of its own — the closest is May Green (#4C9141), clearly related but distinguishable side by side at ΔE 7.44. White text is the more readable choice on this background.

#31842E
HEX#31842E
RGBrgb(49, 132, 46)
HSLhsl(118, 48%, 35%)
HSVhsv(118, 65%, 52%)
CMYKcmyk(63%, 0%, 65%, 48%)
OKLCHoklch(54.4% 0.146 142.7)
LABlab(48.75% -39.44 37.32)
LCHlch(48.75% 54.30 136.59)

What #31842E 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 #31842E, 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.

#31842E Channel Values

How #31842E 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 49 · G 132 · B 468-bit channels as sent to the display
HSLH 118° · S 48% · L 35%Easiest model for building lighter and darker variants
HSVH 118° · S 65% · V 52%Matches the picker in most design tools
CMYKC 63% · M 0% · Y 65% · K 48%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.7:1 vs white · 4.47:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #31842E 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.

TextWhite text4.7:1AA normal AA large AAA normal
Fails AABlack text4.47:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #31842E in the contrast checker.

Colors That Go With #31842E

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

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 #31842E.

How #31842E 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#31842E
Protanopia#7B7B2F
Protanomaly#657E2E
Deuteranopia#717133
Deuteranomaly#5E7931
Tritanopia#437D7D
Tritanomaly#3D8066
Achromatopsia#747474

Test a full palette in the color blindness simulator.

Using #31842E in Code

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

CSS custom property--color-31842e: #31842E;
CSS backgroundbackground-color: #31842E;
Tailwind configcolors: { 'color-31842e': '#31842E' }
SwiftUIColor(red: 0.192, green: 0.518, blue: 0.180)
Android XML<color name="color_31842e">#31842E</color>
SVG fillfill="#31842E"

More Green Colors

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

#31842E Frequently Asked Questions

What color is #31842E?

#31842E is a dark green — rgb(49, 132, 46) in RGB and hsl(118, 48%, 35%) in HSL. It carries no registered color name of its own; the closest named color is May Green (#4C9141), which is clearly related but distinguishable side by side at a CIE76 distance of 7.44.

What is the RGB value of #31842E?

#31842E is rgb(49, 132, 46) — red 49, green 132, and blue 46 on the 0-255 scale.

What is the CMYK value of #31842E?

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

Should text on #31842E be black or white?

White text is the more readable choice. #31842E scores 4.7:1 against white and 4.47:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #31842E as a CSS color keyword?

No. #31842E 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 forestgreen (#228B22) at a CIE76 distance of 9.38, which is clearly related but distinguishable side by side.

Open #31842E in a Tool

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