Skip to content

#af9935

a dark, vivid yellow · warm · closest name: Dark Goldenrod

RGB
175, 153, 53
HSL
49°, 54%, 45%
CMYK
0, 13, 70, 31
Luminance
0.3215

At a glance

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

Hex
#af9935
Hue
49°
yellow
Saturation
54%
vivid
Lightness
45%
dark
Brightness
69%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3215
WCAG relative
Temperature
Warm
16/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
7.43:1
Closest name
Dark Goldenrod
ΔE2000 9.4
Where it sits
Hue49° of 360°
Saturation54%
Lightness45%
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#af9935
RGBrgb(175, 153, 53)
HSLhsl(49, 54%, 45%)
CMYKcmyk(0%, 13%, 70%, 31%)
LABlab(63.5 -3.2 53.2)
LCHlch(63.5 53.3 93.4)
OKLCHoklch(0.684 0.120 96.6)
Decimal11508021
Display P3color(display-p3 0.686 0.600 0.208)

Copy-ready code

/* CSS */
color: #af9935;
background-color: #af9935;
/* Tailwind (arbitrary) */
class="text-[#af9935] bg-[#af9935]"
/* SCSS */
$brand: #af9935;
/* SwiftUI */
Color(red: 0.686, green: 0.600, blue: 0.208)
/* Android */
Color.parseColor("#af9935")
/* Flutter */
Color(0xFFAF9935)
/* Python / OpenCV (BGR) */
(53, 153, 175)

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 #af9935 · 7.43:1
Use #000000AAA at every size.
Aa
White text · 2.83:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.43:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #af9935 as text scores 2.83:1 on white and 7.43:1 on black.

Accessibility — WCAG contrast

Aa
#af9935 on white: 2.83:1
AA ✗ fail · AA-large · AAA
Aa
#af9935 on black: 7.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A89627
deuteranopia · #AE9D3B
tritanopia · #BD8D85

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af9935 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.

#FBF9F4
#F6F4E9
#EDE8CE
#E5DAA9
#D8C87E
#CBB553
#af9935
#9D892F
#7D6E26
#5B501F
#393213
Base = 600Lightest = 50 · #FBF9F4Darkest = 950 · #393213
:root {
  --brand-50: #FBF9F4;
  --brand-100: #F6F4E9;
  --brand-200: #EDE8CE;
  --brand-300: #E5DAA9;
  --brand-400: #D8C87E;
  --brand-500: #CBB553;
  --brand-600: #af9935;
  --brand-700: #9D892F;
  --brand-800: #7D6E26;
  --brand-900: #5B501F;
  --brand-950: #393213;
  --brand: #af9935;
  --brand-ink: #000000;
}

Colors that work with #af9935

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#ECE4C0
Hairlines and dividers
Muted text#9B8C4B
Captions on the surface
Accent#3069B4
Second voice, not a rival
Dark variant#62561E
Hover, pressed, headers
Light variant#F9F7EB
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 #af9935

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#354BAF
Analogous left#AF5C35
Analogous right#88AF35
Split-complement 1#3588AF
Split-complement 2#5C35AF
Triadic 1#35AF99
Triadic 2#9935AF
Tetradic#35AF5C

RGB percentages

Red68.6%
Green60.0%
Blue20.8%

CMYK percentages

Cyan0.0%
Magenta12.6%
Yellow69.7%
Key (black)31.4%

Color previews

#af9935 text on a black background

contrast 7.43:1

Card sample

#af9935 text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 153, 53, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 153, 53, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af9935;
background: linear-gradient(135deg, #af9935, #74AF35);

Monochromatic scale

Palettes built from #af9935

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.

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

#af9935, answered

What color is #af9935?

#af9935 is a dark vivid yellow, closest to Dark Goldenrod (ΔE2000 9.4). It sits at 49° on the hue wheel with 54% saturation and 45% lightness, which reads as warm.

What is the RGB value of #af9935?

rgb(175, 153, 53) — 175 red, 153 green and 53 blue out of 255, or 68.6% / 60% / 20.8% by channel.

Is #af9935 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3215 and perceived brightness is 60%, so black text on it reaches 7.43:1.

Should I use black or white text on #af9935?

Black. It scores 7.43:1 against #af9935, versus 2.83:1 for white — AAA at any size.

What is the complementary color of #af9935?

#354BAF sits directly opposite on the wheel. Softer options are the split-complements #3588AF and #5C35AF, which give the same contrast with far less vibration.

What colors go well with #af9935?

For interface work: #FAF9F4 as the surface, #ECE4C0 for borders, #9B8C4B for secondary text, #3069B4 as an accent and #62561E for hover and pressed states. For a palette, the analogous pair #AF5C35 and #88AF35 stays calm, while #354BAF is the loudest partner.

What is #af9935 in CMYK for printing?

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

Is #af9935 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 #AF7A35; nudged cooler, #9AB133.

Work with #af9935 in the Color Lab