Skip to content

#797306 Color

#797306 is rgb(121, 115, 6) in RGB, hsl(57, 91%, 25%) in HSL, and about cmyk(0%, 5%, 95%, 53%) in CMYK. It has no registered color name of its own — the closest is Olive (#808000), clearly related but distinguishable side by side at ΔE 7.39. White text is the more readable choice on this background.

#797306
HEX#797306
RGBrgb(121, 115, 6)
HSLhsl(57, 91%, 25%)
HSVhsv(57, 95%, 47%)
CMYKcmyk(0%, 5%, 95%, 53%)
OKLCHoklch(54.4% 0.114 105.9)
LABlab(47.70% -5.84 51.36)
LCHlch(47.70% 51.69 96.49)

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

#797306 Channel Values

How #797306 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 121 · G 115 · B 68-bit channels as sent to the display
HSLH 57° · S 91% · L 25%Easiest model for building lighter and darker variants
HSVH 57° · S 95% · V 47%Matches the picker in most design tools
CMYKC 0% · M 5% · Y 95% · K 53%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.92:1 vs white · 4.27:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #797306 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.92:1AA normal AA large AAA normal
Fails AABlack text4.27:1AA normal AA large AAA normal

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

Colors That Go With #797306

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

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

How #797306 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#797306
Protanopia#747406
Protanomaly#767406
Deuteranopia#757504
Deuteranomaly#777405
Tritanopia#7F6C6C
Tritanomaly#7D6F55
Achromatopsia#707070

Test a full palette in the color blindness simulator.

Using #797306 in Code

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

CSS custom property--color-797306: #797306;
CSS backgroundbackground-color: #797306;
Tailwind configcolors: { 'color-797306': '#797306' }
SwiftUIColor(red: 0.475, green: 0.451, blue: 0.024)
Android XML<color name="color_797306">#797306</color>
SVG fillfill="#797306"

More Yellow Colors

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

#797306 Frequently Asked Questions

What color is #797306?

#797306 is a dark yellow — rgb(121, 115, 6) in RGB and hsl(57, 91%, 25%) in HSL. It carries no registered color name of its own; the closest named color is Olive (#808000), which is clearly related but distinguishable side by side at a CIE76 distance of 7.39.

What is the RGB value of #797306?

#797306 is rgb(121, 115, 6) — red 121, green 115, and blue 6 on the 0-255 scale.

What is the CMYK value of #797306?

#797306 converts to approximately cmyk(0%, 5%, 95%, 53%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #797306 be black or white?

White text is the more readable choice. #797306 scores 4.92:1 against white and 4.27:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #797306 as a CSS color keyword?

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

Open #797306 in a Tool

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