Skip to content

#787221 Color

#787221 is rgb(120, 114, 33) in RGB, hsl(56, 57%, 30%) in HSL, and about cmyk(0%, 5%, 73%, 53%) in CMYK. It has no registered color name of its own — the closest is Old Moss Green (#867E36), clearly related but distinguishable side by side at ΔE 6.36. White text is the more readable choice on this background.

#787221
HEX#787221
RGBrgb(120, 114, 33)
HSLhsl(56, 57%, 30%)
HSVhsv(56, 73%, 47%)
CMYKcmyk(0%, 5%, 73%, 53%)
OKLCHoklch(54.2% 0.1 105.1)
LABlab(47.41% -5.08 43.21)
LCHlch(47.41% 43.51 96.71)

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

#787221 Channel Values

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

Text Contrast & Accessibility

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

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

Colors That Go With #787221

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

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

How #787221 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#787221
Protanopia#737321
Protanomaly#757321
Deuteranopia#747420
Deuteranomaly#767321
Tritanopia#7E6C6C
Tritanomaly#7B6E57
Achromatopsia#707070

Test a full palette in the color blindness simulator.

Using #787221 in Code

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

CSS custom property--color-787221: #787221;
CSS backgroundbackground-color: #787221;
Tailwind configcolors: { 'color-787221': '#787221' }
SwiftUIColor(red: 0.471, green: 0.447, blue: 0.129)
Android XML<color name="color_787221">#787221</color>
SVG fillfill="#787221"

More Yellow Colors

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

#787221 Frequently Asked Questions

What color is #787221?

#787221 is a dark yellow — rgb(120, 114, 33) in RGB and hsl(56, 57%, 30%) in HSL. It carries no registered color name of its own; the closest named color is Old Moss Green (#867E36), which is clearly related but distinguishable side by side at a CIE76 distance of 6.36.

What is the RGB value of #787221?

#787221 is rgb(120, 114, 33) — red 120, green 114, and blue 33 on the 0-255 scale.

What is the CMYK value of #787221?

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

Should text on #787221 be black or white?

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

Can I write #787221 as a CSS color keyword?

No. #787221 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 14.34, which is visibly different.

Open #787221 in a Tool

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