Skip to content

#7A6B1F Color

#7A6B1F is rgb(122, 107, 31) in RGB, hsl(50, 59%, 30%) in HSL, and about cmyk(0%, 12%, 75%, 52%) in CMYK. It has no registered color name of its own — the closest is Spanish Bister(spanish Bistre) (#807532), clearly related but distinguishable side by side at ΔE 6.18. White text is the more readable choice on this background.

#7A6B1F
HEX#7A6B1F
RGBrgb(122, 107, 31)
HSLhsl(50, 59%, 30%)
HSVhsv(50, 75%, 48%)
CMYKcmyk(0%, 12%, 75%, 52%)
OKLCHoklch(52.7% 0.095 97.7)
LABlab(45.57% -0.45 42.37)
LCHlch(45.57% 42.37 90.62)

What #7A6B1F 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 #7A6B1F, 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 yellow in the library.

#7A6B1F Channel Values

How #7A6B1F 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 122 · G 107 · B 318-bit channels as sent to the display
HSLH 50° · S 59% · L 30%Easiest model for building lighter and darker variants
HSVH 50° · S 75% · V 48%Matches the picker in most design tools
CMYKC 0% · M 12% · Y 75% · K 52%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.32:1 vs white · 3.95:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #7A6B1F 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.32:1AA normal AA large AAA normal
Fails AABlack text3.95:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #7A6B1F in the contrast checker.

Colors That Go With #7A6B1F

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

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 #7A6B1F.

How #7A6B1F 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#7A6B1F
Protanopia#6E6E1F
Protanomaly#736D1F
Deuteranopia#70701D
Deuteranomaly#746E1E
Tritanopia#7F6565
Tritanomaly#7D6752
Achromatopsia#6B6B6B

Test a full palette in the color blindness simulator.

Using #7A6B1F in Code

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

CSS custom property--color-7a6b1f: #7A6B1F;
CSS backgroundbackground-color: #7A6B1F;
Tailwind configcolors: { 'color-7a6b1f': '#7A6B1F' }
SwiftUIColor(red: 0.478, green: 0.420, blue: 0.122)
Android XML<color name="color_7a6b1f">#7A6B1F</color>
SVG fillfill="#7A6B1F"

More Yellow Colors

#7A6B1F sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.

#7A6B1F Frequently Asked Questions

What color is #7A6B1F?

#7A6B1F is a dark yellow — rgb(122, 107, 31) in RGB and hsl(50, 59%, 30%) in HSL. It carries no registered color name of its own; the closest named color is Spanish Bister(spanish Bistre) (#807532), which is clearly related but distinguishable side by side at a CIE76 distance of 6.18.

What is the RGB value of #7A6B1F?

#7A6B1F is rgb(122, 107, 31) — red 122, green 107, and blue 31 on the 0-255 scale.

What is the CMYK value of #7A6B1F?

#7A6B1F converts to approximately cmyk(0%, 12%, 75%, 52%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #7A6B1F be black or white?

White text is the more readable choice. #7A6B1F scores 5.32:1 against white and 3.95:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #7A6B1F as a CSS color keyword?

No. #7A6B1F 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 olive (#808000) at a CIE76 distance of 17.62, which is visibly different.

Open #7A6B1F in a Tool

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