Skip to content

#808217 Color

#808217 is rgb(128, 130, 23) in RGB, hsl(61, 70%, 30%) in HSL, and about cmyk(2%, 0%, 82%, 49%) in CMYK. It has no registered color name of its own — the closest is Olive (#808000), very hard to tell apart at ΔE 4.35. Black text is the more readable choice on this background.

#808217
HEX#808217
RGBrgb(128, 130, 23)
HSLhsl(61, 70%, 30%)
HSVhsv(61, 82%, 51%)
CMYKcmyk(2%, 0%, 82%, 49%)
OKLCHoklch(58.6% 0.121 110.8)
LABlab(52.79% -10.07 51.77)
LCHlch(52.79% 52.74 101.00)

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

#808217 Channel Values

How #808217 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 128 · G 130 · B 238-bit channels as sent to the display
HSLH 61° · S 70% · L 30%Easiest model for building lighter and darker variants
HSVH 61° · S 82% · V 51%Matches the picker in most design tools
CMYKC 2% · M 0% · Y 82% · K 49%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.1:1 vs white · 5.12:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #808217 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.

Fails AAWhite text4.1:1AA normal AA large AAA normal
TextBlack text5.12:1AA normal AA large AAA normal

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

Colors That Go With #808217

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

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

How #808217 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#808217
Protanopia#828217
Protanomaly#818217
Deuteranopia#818117
Deuteranomaly#818217
Tritanopia#877A7A
Tritanomaly#847E62
Achromatopsia#7D7D7D

Test a full palette in the color blindness simulator.

Using #808217 in Code

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

CSS custom property--color-808217: #808217;
CSS backgroundbackground-color: #808217;
Tailwind configcolors: { 'color-808217': '#808217' }
SwiftUIColor(red: 0.502, green: 0.510, blue: 0.090)
Android XML<color name="color_808217">#808217</color>
SVG fillfill="#808217"

More Yellow Colors

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

#808217 Frequently Asked Questions

What color is #808217?

#808217 is a dark yellow — rgb(128, 130, 23) in RGB and hsl(61, 70%, 30%) in HSL. It carries no registered color name of its own; the closest named color is Olive (#808000), which is very hard to tell apart at a CIE76 distance of 4.35.

What is the RGB value of #808217?

#808217 is rgb(128, 130, 23) — red 128, green 130, and blue 23 on the 0-255 scale.

What is the CMYK value of #808217?

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

Should text on #808217 be black or white?

Black text is the more readable choice. #808217 scores 4.1:1 against white and 5.12:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #808217 as a CSS color keyword?

No. #808217 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 4.35, which is very hard to tell apart.

Open #808217 in a Tool

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