Maroon Colors  ·  Color Library

Palettes / Colors / #DAAF2F

#DAAF2F — Yellow

#DAAF2F is a yellow color we call Yellow, closest to the named color GoldenRod (#DAA520). It belongs to the yellow family.

Color name

Closest CSS keyword: goldenrod (#DAA520) — not an exact match. CSS goldenrod gives you #DAA520, a different color; use #DAAF2F when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#DAAF2F is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #2F5ADA; it also sits naturally between #DA5A2F and #AFDA2F. In the palettes below you can see it working alongside real color combinations from our collection.

#DAAF2F · RGB 218, 175, 47

Download PNG swatch SVG

Color values

HEX#DAAF2F
RGB218, 175, 47
HSL45°, 70%, 52%
HSV45°, 78%, 85%
CMYK0%, 20%, 78%, 15%
XYZ44.76, 45.77, 9.17
Yxy45.77, 0.4489, 0.4591
CIE-Lab73.40, 3.66, 66.48
Hunter Lab67.65, 3.36, 37.01

RGB & CMYK percentages

Red 85% · Green 69% · Blue 18%

Cyan 0% · Magenta 20% · Yellow 78% · Key 15%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #DAAF2F on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #DAAF2F on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #DAAF2F

.text { color: #DAAF2F; }
.background { background-color: #DAAF2F; }
.border { border: 3px solid #DAAF2F; }
.text-rgb { color: rgb(218, 175, 47); }
.text-hsl { color: hsl(45, 70%, 52%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DAAF2F; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(218, 175, 47, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DAAF2F; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(218, 175, 47, 0.8); }

HTML: <p style="color:#DAAF2F">Text here</p> · <div style="background-color:#DAAF2F">Div content here</div>

Shades of #DAAF2F

#CCA224#B69120#A5831D#8F7219#796015#644F12#4E3E0E#3D300B#271F07#110E03

Tints of #DAAF2F

#DDB640#E1BE56#E4C567#E8CD7D#EBD48E#EEDBA0#F2E3B5#F5E9C7#F9F2DC#FCF8EE

Tones of #DAAF2F

#CEA93B#C2A347#B69D54#A99760#9D916C#918B78

Color harmonies

Complementary — #2F5ADA:

Analogous:

Triadic:

Contrast & accessibility

Against white text2.07:1 Fails
Against black text10.15:1 AAA

Best text color on #DAAF2F: #000000.

Semi-transparent (opacity) text on #DAAF2F

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #DAAF2F: ·

How #DAAF2F looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #C7C74EDeuteranopia · #CACD55Tritanopia · #D8666C

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind yellow 500 · #EAB308Material Lime 500 · #CDDC39Tailwind amber 500 · #F59E0B

Palettes with a similar color

These palettes use a close neighbour of #DAAF2F rather than the exact color:

Dreamy Mirage
#18A27E · #8D1AB6 · #E0B027 · #B7EDE1
Scarlet Ruby Zephyr
#C51535 · #E68B6C · #DEA72A · #D1E92C
Palette 00809d
#00809D · #FCF8DD · #FFD700 · #D3AF37
Palette 7adaa5
#7ADAA5 · #239BA7 · #ECECBB · #E1AA36
Palette 282f44
#282F44 · #E6AF2E · #F5D061 · #ECECEC
Palette 0b1849
#0B1849 · #124D1C · #E4B028 · #EBEDE3

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#E0B027#DEA72A#D3AF37#E1AA36#E6AF2E#E4B028#E6AD32#DAB321#D8BD2A#DFBC29#E6B325#E7B737

Browse neighbouring colors

← #DAAF2E  ·  #DAAF30 →

Frequently asked questions

What color is #DAAF2F?

#DAAF2F is Yellow, a yellow color (RGB 218, 175, 47). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #DAAF2F?

#DAAF2F is RGB 218, 175, 47 — HSL 45°, 70%, 52% — CMYK 0%, 20%, 78%, 15%.

What colors go with #DAAF2F?

Its complement is #2F5ADA; analogous partners are #DA5A2F and #AFDA2F. It also appears in 6+ palettes in our collection.

Can I use #DAAF2F for text?

Black text on #DAAF2F has a contrast ratio of 10.15:1 (passes WCAG AA); white text gives 2.07:1.