Maroon Colors  ·  Color Library

Palettes / Colors / #DABC2B

#DABC2B — Yellow

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

#DABC2B 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 #2B48DA; it also sits naturally between #DA652B and #9FDA2B. In the palettes below you can see it working alongside real color combinations from our collection.

#DABC2B · RGB 218, 188, 43

Download PNG swatch SVG

Color values

HEX#DABC2B
RGB218, 188, 43
HSL50°, 70%, 51%
HSV50°, 80%, 85%
CMYK0%, 14%, 80%, 15%
XYZ47.33, 51.05, 9.64
Yxy51.05, 0.4382, 0.4726
CIE-Lab76.71, -3.28, 70.69
Hunter Lab71.45, -3.01, 39.59

RGB & CMYK percentages

Red 85% · Green 74% · Blue 17%

Cyan 0% · Magenta 14% · Yellow 80% · Key 15%

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

Previews

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

CSS code for #DABC2B

.text { color: #DABC2B; }
.background { background-color: #DABC2B; }
.border { border: 3px solid #DABC2B; }
.text-rgb { color: rgb(218, 188, 43); }
.text-hsl { color: hsl(50, 70%, 51%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #DABC2B; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(218, 188, 43, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #DABC2B; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(218, 188, 43, 0.8); }

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

Shades of #DABC2B

#C7AC23#B69D20#A08A1C#8B7818#796915#645612#4E430E#38310A#272207#110F03

Tints of #DABC2B

#DDC340#E0C952#E4CF67#E7D579#EBDC8E#EEE1A0#F2E8B5#F5EDC7#F9F4DC#FCFAEE

Tones of #DABC2B

#CDB437#C1AC44#B4A350#A89B5D#9B9369#8F8A76

Color harmonies

Complementary — #2B48DA:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.87:1 Fails
Against black text11.21:1 AAA

Best text color on #DABC2B: #000000.

Semi-transparent (opacity) text on #DABC2B

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 #DABC2B: ·

How #DABC2B looks with color blindness

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

Protanopia · #CDCD4EDeuteranopia · #CFD157Tritanopia · #D96A70

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:

Material Lime 500 · #CDDC39Tailwind yellow 500 · #EAB308Tailwind amber 500 · #F59E0B

Palettes with a similar color

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

Electric Ruby Aurora
#D8BD2A · #95AC2A · #549318 · #63D44E
Electric Opal
#E88EB4 · #E26749 · #DFBC29 · #C4F086
Crimson Twilight
#841A8E · #D3C526 · #54E0D4 · #D7A9E6
Velvet Ruby Zephyr
#A2581F · #D5C828 · #B3E46F · #B2EFAC
Crimson Ruby Horizon
#6E1487 · #DAB321 · #39E1BE · #E4CAF1
Dreamy Mirage
#18A27E · #8D1AB6 · #E0B027 · #B7EDE1

Similar colors

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

#D8BD2A#DFBC29#D3C526#D5C828#DAB321#E0B027#D7CA2D#E4B028#E6B325#E9B824#D8C81F#D2CA32

Browse neighbouring colors

← #DABC2A  ·  #DABC2C →

Frequently asked questions

What color is #DABC2B?

#DABC2B is Yellow, a yellow color (RGB 218, 188, 43). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #DABC2B?

#DABC2B is RGB 218, 188, 43 — HSL 50°, 70%, 51% — CMYK 0%, 14%, 80%, 15%.

What colors go with #DABC2B?

Its complement is #2B48DA; analogous partners are #DA652B and #9FDA2B. It also appears in 6+ palettes in our collection.

Can I use #DABC2B for text?

Black text on #DABC2B has a contrast ratio of 11.21:1 (passes WCAG AA); white text gives 1.87:1.