Skip to content

#507A1A Color

#507A1A is rgb(80, 122, 26) in RGB, hsl(86, 65%, 29%) in HSL, and about cmyk(34%, 0%, 79%, 52%) in CMYK. It has no registered color name of its own — the closest is Sap Green (#507D2A), clearly related but distinguishable side by side at ΔE 5.41. White text is the more readable choice on this background.

#507A1A
HEX#507A1A
RGBrgb(80, 122, 26)
HSLhsl(86, 65%, 29%)
HSVhsv(86, 79%, 48%)
CMYKcmyk(34%, 0%, 79%, 52%)
OKLCHoklch(52.9% 0.131 130.8)
LABlab(46.71% -26.77 43.85)
LCHlch(46.71% 51.37 121.41)

What #507A1A 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 #507A1A, 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.

#507A1A Channel Values

How #507A1A 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 80 · G 122 · B 268-bit channels as sent to the display
HSLH 86° · S 65% · L 29%Easiest model for building lighter and darker variants
HSVH 86° · S 79% · V 48%Matches the picker in most design tools
CMYKC 34% · M 0% · Y 79% · K 52%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.07:1 vs white · 4.14:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #507A1A 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.07:1AA normal AA large AAA normal
Fails AABlack text4.14:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #507A1A in the contrast checker.

Colors That Go With #507A1A

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

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 #507A1A.

How #507A1A 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#507A1A
Protanopia#74741B
Protanomaly#68771A
Deuteranopia#6E6E1F
Deuteranomaly#64731D
Tritanopia#5B7373
Tritanomaly#57765C
Achromatopsia#6E6E6E

Test a full palette in the color blindness simulator.

Using #507A1A in Code

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

CSS custom property--color-507a1a: #507A1A;
CSS backgroundbackground-color: #507A1A;
Tailwind configcolors: { 'color-507a1a': '#507A1A' }
SwiftUIColor(red: 0.314, green: 0.478, blue: 0.102)
Android XML<color name="color_507a1a">#507A1A</color>
SVG fillfill="#507A1A"

More Green Colors

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

#507A1A Frequently Asked Questions

What color is #507A1A?

#507A1A is a dark green — rgb(80, 122, 26) in RGB and hsl(86, 65%, 29%) in HSL. It carries no registered color name of its own; the closest named color is Sap Green (#507D2A), which is clearly related but distinguishable side by side at a CIE76 distance of 5.41.

What is the RGB value of #507A1A?

#507A1A is rgb(80, 122, 26) — red 80, green 122, and blue 26 on the 0-255 scale.

What is the CMYK value of #507A1A?

#507A1A converts to approximately cmyk(34%, 0%, 79%, 52%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #507A1A be black or white?

White text is the more readable choice. #507A1A scores 5.07:1 against white and 4.14:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #507A1A as a CSS color keyword?

No. #507A1A 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.87, which is clearly related but distinguishable side by side.

Open #507A1A in a Tool

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