Skip to content

#daba2c

a balanced, vivid yellow · warm · closest name: Goldenrod

RGB
218, 186, 44
HSL
49°, 70%, 51%
CMYK
0, 15, 80, 15
Luminance
0.5021

At a glance

Every number on this page in one read: what #daba2c is made of, how bright it looks, and which way it leans.

Hex
#daba2c
Hue
49°
yellow
Saturation
70%
vivid
Lightness
51%
balanced
Brightness
85%
HSV value
Perceived
73%
weighted brightness
Luminance
0.5021
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
11.04:1
Closest name
Goldenrod
ΔE2000 7.7
Where it sits
Hue49° of 360°
Saturation70%
Lightness51%
Temperature
Warm ← → Cool16% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#daba2c
RGBrgb(218, 186, 44)
HSLhsl(49, 70%, 51%)
CMYKcmyk(0%, 15%, 80%, 15%)
LABlab(76.2 -2.2 69.9)
LCHlch(76.2 70.0 91.8)
OKLCHoklch(0.794 0.152 95.4)
Decimal14334508
Display P3color(display-p3 0.855 0.729 0.173)

Copy-ready code

/* CSS */
color: #daba2c;
background-color: #daba2c;
/* Tailwind (arbitrary) */
class="text-[#daba2c] bg-[#daba2c]"
/* SCSS */
$brand: #daba2c;
/* SwiftUI */
Color(red: 0.855, green: 0.729, blue: 0.173)
/* Android */
Color.parseColor("#daba2c")
/* Flutter */
Color(0xFFDABA2C)
/* Python / OpenCV (BGR) */
(44, 186, 218)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #daba2c · 11.04:1
Use #000000AAA at every size.
Aa
White text · 1.90:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.04:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #daba2c as text scores 1.90:1 on white and 11.04:1 on black.

Accessibility — WCAG contrast

Aa
#daba2c on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#daba2c on black: 11.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CEB600
deuteranopia · #D6C036
tritanopia · #ECABA0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #daba2c is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCFAF3
#F8F5E7
#F2EBC9
#EEE0A0
#E6D070
#DEC140
#daba2c
#AE931E
#8B7618
#655616
#3F360E
Base = 600Lightest = 50 · #FCFAF3Darkest = 950 · #3F360E
:root {
  --brand-50: #FCFAF3;
  --brand-100: #F8F5E7;
  --brand-200: #F2EBC9;
  --brand-300: #EEE0A0;
  --brand-400: #E6D070;
  --brand-500: #DEC140;
  --brand-600: #daba2c;
  --brand-700: #AE931E;
  --brand-800: #8B7618;
  --brand-900: #655616;
  --brand-950: #3F360E;
  --brand: #daba2c;
  --brand-ink: #000000;
}

Colors that work with #daba2c

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF9F4
Tinted page background
Border#EDE4C0
Hairlines and dividers
Muted text#9B8C4B
Captions on the surface
Accent#2777DF
Second voice, not a rival
Dark variant#6D5C13
Hover, pressed, headers
Light variant#FBF8E9
Selected rows, tints
Dark surface#242114
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #daba2c

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#2C4CDA
Analogous left#DA632C
Analogous right#A3DA2C
Split-complement 1#2CA3DA
Split-complement 2#632CDA
Triadic 1#2CDABA
Triadic 2#BA2CDA
Tetradic#2CDA63

RGB percentages

Red85.5%
Green72.9%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta14.7%
Yellow79.8%
Key (black)14.5%

Color previews

#daba2c text on a black background

contrast 11.04:1

Card sample

#daba2c text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #daba2c;
Background color
Panel with #daba2c background
background-color: #daba2c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #daba2c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(218, 186, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(218, 186, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #daba2c;
background: linear-gradient(135deg, #daba2c, #86DA2C);

Monochromatic scale

Palettes built from #daba2c

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#daba2c in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#daba2c, answered

What color is #daba2c?

#daba2c is a balanced vivid yellow, closest to Goldenrod (ΔE2000 7.7). It sits at 49° on the hue wheel with 70% saturation and 51% lightness, which reads as warm.

What is the RGB value of #daba2c?

rgb(218, 186, 44) — 218 red, 186 green and 44 blue out of 255, or 85.5% / 72.9% / 17.3% by channel.

Is #daba2c a light or a dark color?

It is a light color. Relative luminance is 0.5021 and perceived brightness is 73%, so black text on it reaches 11.04:1.

Should I use black or white text on #daba2c?

Black. It scores 11.04:1 against #daba2c, versus 1.90:1 for white — AAA at any size.

What is the complementary color of #daba2c?

#2C4CDA sits directly opposite on the wheel. Softer options are the split-complements #2CA3DA and #632CDA, which give the same contrast with far less vibration.

What colors go well with #daba2c?

For interface work: #FAF9F4 as the surface, #EDE4C0 for borders, #9B8C4B for secondary text, #2777DF as an accent and #6D5C13 for hover and pressed states. For a palette, the analogous pair #DA632C and #A3DA2C stays calm, while #2C4CDA is the loudest partner.

What is #daba2c in CMYK for printing?

cmyk(0%, 15%, 80%, 15%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #daba2c warm or cool?

Warm — it scores 16 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DA932C; nudged cooler, #BCDD2A.

Work with #daba2c in the Color Lab