Skip to content

#D8A122 Color

#D8A122 is rgb(216, 161, 34) in RGB, hsl(42, 73%, 49%) in HSL, and about cmyk(0%, 25%, 84%, 15%) in CMYK. It has no registered color name of its own — the closest is Goldenrod (#DAA520), very hard to tell apart at ΔE 2.32. Black text is the more readable choice on this background.

#D8A122
HEX#D8A122
RGBrgb(216, 161, 34)
HSLhsl(42, 73%, 49%)
HSVhsv(42, 84%, 85%)
CMYKcmyk(0%, 25%, 84%, 15%)
OKLCHoklch(74.2% 0.144 82.3)
LABlab(70.12% 13.42 67.11)
LCHlch(70.12% 68.44 78.69)

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

#D8A122 Channel Values

How #D8A122 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 216 · G 161 · B 348-bit channels as sent to the display
HSLH 42° · S 73% · L 49%Easiest model for building lighter and darker variants
HSVH 42° · S 84% · V 85%Matches the picker in most design tools
CMYKC 0% · M 25% · Y 84% · K 15%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.32:1 vs white · 9.04:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #D8A122 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 text2.32:1AA normal AA large AAA normal
TextBlack text9.04:1AA normal AA large AAA normal

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

Colors That Go With #D8A122

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

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

How #D8A122 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#D8A122
Protanopia#ACAC20
Protanomaly#BFA821
Deuteranopia#B6B614
Deuteranomaly#C4AE1A
Tritanopia#DE9898
Tritanomaly#DC9C7A
Achromatopsia#AAAAAA

Test a full palette in the color blindness simulator.

Using #D8A122 in Code

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

CSS custom property--color-d8a122: #D8A122;
CSS backgroundbackground-color: #D8A122;
Tailwind configcolors: { 'color-d8a122': '#D8A122' }
SwiftUIColor(red: 0.847, green: 0.631, blue: 0.133)
Android XML<color name="color_d8a122">#D8A122</color>
SVG fillfill="#D8A122"

More Yellow Colors

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

#D8A122 Frequently Asked Questions

What color is #D8A122?

#D8A122 is a mid-tone yellow — rgb(216, 161, 34) in RGB and hsl(42, 73%, 49%) in HSL. It carries no registered color name of its own; the closest named color is Goldenrod (#DAA520), which is very hard to tell apart at a CIE76 distance of 2.32.

What is the RGB value of #D8A122?

#D8A122 is rgb(216, 161, 34) — red 216, green 161, and blue 34 on the 0-255 scale.

What is the CMYK value of #D8A122?

#D8A122 converts to approximately cmyk(0%, 25%, 84%, 15%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #D8A122 be black or white?

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

Can I write #D8A122 as a CSS color keyword?

No. #D8A122 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 goldenrod (#DAA520) at a CIE76 distance of 2.32, which is very hard to tell apart.

Open #D8A122 in a Tool

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