Skip to content

#af991e

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

RGB
175, 153, 30
HSL
51°, 71%, 40%
CMYK
0, 13, 83, 31
Luminance
0.3199

At a glance

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

Hex
#af991e
Hue
51°
yellow
Saturation
71%
vivid
Lightness
40%
dark
Brightness
69%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3199
WCAG relative
Temperature
Warm
17/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
7.40:1
Closest name
Dark Goldenrod
ΔE2000 9.6
Where it sits
Hue51° of 360°
Saturation71%
Lightness40%
Temperature
Warm ← → Cool17% 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#af991e
RGBrgb(175, 153, 30)
HSLhsl(51, 71%, 40%)
CMYKcmyk(0%, 13%, 83%, 31%)
LABlab(63.3 -4.2 61.3)
LCHlch(63.3 61.4 93.9)
OKLCHoklch(0.682 0.133 98.1)
Decimal11507998
Display P3color(display-p3 0.686 0.600 0.118)

Copy-ready code

/* CSS */
color: #af991e;
background-color: #af991e;
/* Tailwind (arbitrary) */
class="text-[#af991e] bg-[#af991e]"
/* SCSS */
$brand: #af991e;
/* SwiftUI */
Color(red: 0.686, green: 0.600, blue: 0.118)
/* Android */
Color.parseColor("#af991e")
/* Flutter */
Color(0xFFAF991E)
/* Python / OpenCV (BGR) */
(30, 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 #af991e · 7.40:1
Use #000000AAA at every size.
Aa
White text · 2.84:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.40:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #af991e as text scores 2.84:1 on white and 7.40:1 on black.

Accessibility — WCAG contrast

Aa
#af991e on white: 2.84:1
AA ✗ fail · AA-large · AAA
Aa
#af991e on black: 7.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A99500
deuteranopia · #AF9D28
tritanopia · #BD8D83

Color scale — 50 to 950

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

#FCFAF3
#F8F6E7
#F2ECC9
#EFE39F
#E6D46F
#DEC63F
#D1B724
#af991e
#8B7A18
#655915
#3F380D
Base = 700Lightest = 50 · #FCFAF3Darkest = 950 · #3F380D
:root {
  --brand-50: #FCFAF3;
  --brand-100: #F8F6E7;
  --brand-200: #F2ECC9;
  --brand-300: #EFE39F;
  --brand-400: #E6D46F;
  --brand-500: #DEC63F;
  --brand-600: #D1B724;
  --brand-700: #af991e;
  --brand-800: #8B7A18;
  --brand-900: #655915;
  --brand-950: #3F380D;
  --brand: #af991e;
  --brand-ink: #000000;
}

Colors that work with #af991e

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#EDE6C0
Hairlines and dividers
Muted text#9B8F4B
Captions on the surface
Accent#1A57B3
Second voice, not a rival
Dark variant#6D5F13
Hover, pressed, headers
Light variant#FBF9E9
Selected rows, tints
Dark surface#242214
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 #af991e

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#1E34AF
Analogous left#AF511E
Analogous right#7CAF1E
Split-complement 1#1E7CAF
Split-complement 2#511EAF
Triadic 1#1EAF99
Triadic 2#991EAF
Tetradic#1EAF51

RGB percentages

Red68.6%
Green60.0%
Blue11.8%

CMYK percentages

Cyan0.0%
Magenta12.6%
Yellow82.9%
Key (black)31.4%

Color previews

#af991e text on a black background

contrast 7.40:1

Card sample

#af991e text on a white background

contrast 2.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af991e

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.

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

#af991e, answered

What color is #af991e?

#af991e is a dark vivid yellow, closest to Dark Goldenrod (ΔE2000 9.6). It sits at 51° on the hue wheel with 71% saturation and 40% lightness, which reads as warm.

What is the RGB value of #af991e?

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

Is #af991e a light or a dark color?

It is a mid-tone. Relative luminance is 0.3199 and perceived brightness is 59%, so black text on it reaches 7.40:1.

Should I use black or white text on #af991e?

Black. It scores 7.40:1 against #af991e, versus 2.84:1 for white — AAA at any size.

What is the complementary color of #af991e?

#1E34AF sits directly opposite on the wheel. Softer options are the split-complements #1E7CAF and #511EAF, which give the same contrast with far less vibration.

What colors go well with #af991e?

For interface work: #FAF9F4 as the surface, #EDE6C0 for borders, #9B8F4B for secondary text, #1A57B3 as an accent and #6D5F13 for hover and pressed states. For a palette, the analogous pair #AF511E and #7CAF1E stays calm, while #1E34AF is the loudest partner.

What is #af991e in CMYK for printing?

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

Is #af991e warm or cool?

Warm — it scores 17 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF731E; nudged cooler, #91B11C.

Work with #af991e in the Color Lab