Skip to content

#04812E Color

#04812E is rgb(4, 129, 46) in RGB, hsl(140, 94%, 26%) in HSL, and about cmyk(97%, 0%, 64%, 49%) in CMYK. It has no registered color name of its own — the closest is La Salle Green (#087830), clearly related but distinguishable side by side at ΔE 6.3. White text is the more readable choice on this background.

#04812E
HEX#04812E
RGBrgb(4, 129, 46)
HSLhsl(140, 94%, 26%)
HSVhsv(140, 97%, 51%)
CMYKcmyk(97%, 0%, 64%, 49%)
OKLCHoklch(52.6% 0.154 147.1)
LABlab(46.88% -45.10 34.99)
LCHlch(46.88% 57.08 142.19)

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

#04812E Channel Values

How #04812E 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 4 · G 129 · B 468-bit channels as sent to the display
HSLH 140° · S 94% · L 26%Easiest model for building lighter and darker variants
HSVH 140° · S 97% · V 51%Matches the picker in most design tools
CMYKC 97% · M 0% · Y 64% · K 49%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.02:1 vs white · 4.18:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #04812E 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 text5.02:1AA normal AA large AAA normal
Fails AABlack text4.18:1AA normal AA large AAA normal

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

Colors That Go With #04812E

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

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

How #04812E 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#04812E
Protanopia#76762F
Protanomaly#5D7B2F
Deuteranopia#6B6B33
Deuteranomaly#547431
Tritanopia#2C7A7A
Tritanomaly#227D64
Achromatopsia#6F6F6F

Test a full palette in the color blindness simulator.

Using #04812E in Code

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

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

More Green Colors

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

#04812E Frequently Asked Questions

What color is #04812E?

#04812E is a dark green — rgb(4, 129, 46) in RGB and hsl(140, 94%, 26%) in HSL. It carries no registered color name of its own; the closest named color is La Salle Green (#087830), which is clearly related but distinguishable side by side at a CIE76 distance of 6.3.

What is the RGB value of #04812E?

#04812E is rgb(4, 129, 46) — red 4, green 129, and blue 46 on the 0-255 scale.

What is the CMYK value of #04812E?

#04812E converts to approximately cmyk(97%, 0%, 64%, 49%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #04812E be black or white?

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

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

No. #04812E 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.81, which is clearly related but distinguishable side by side.

Open #04812E in a Tool

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