Skip to content

#a9af13

a dark, electric yellow · warm · closest name: Dark Khaki

RGB
169, 175, 19
HSL
62°, 80%, 38%
CMYK
3, 0, 89, 31
Luminance
0.3914

At a glance

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

Hex
#a9af13
Hue
62°
yellow
Saturation
80%
electric
Lightness
38%
dark
Brightness
69%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3914
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
8.83:1
Closest name
Dark Khaki
ΔE2000 9.5
Where it sits
Hue62° of 360°
Saturation80%
Lightness38%
Temperature
Warm ← → Cool27% 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#a9af13
RGBrgb(169, 175, 19)
HSLhsl(62, 80%, 38%)
CMYKcmyk(3%, 0%, 89%, 31%)
LABlab(68.8 -18.6 68.2)
LCHlch(68.8 70.6 105.3)
OKLCHoklch(0.725 0.157 112.2)
Decimal11120403
Display P3color(display-p3 0.663 0.686 0.075)

Copy-ready code

/* CSS */
color: #a9af13;
background-color: #a9af13;
/* Tailwind (arbitrary) */
class="text-[#a9af13] bg-[#a9af13]"
/* SCSS */
$brand: #a9af13;
/* SwiftUI */
Color(red: 0.663, green: 0.686, blue: 0.075)
/* Android */
Color.parseColor("#a9af13")
/* Flutter */
Color(0xFFA9AF13)
/* Python / OpenCV (BGR) */
(19, 175, 169)

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

Accessibility — WCAG contrast

Aa
#a9af13 on white: 2.38:1
AA ✗ fail · AA-large · AAA
Aa
#a9af13 on black: 8.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BDA600
deuteranopia · #BEAA27
tritanopia · #B5A495

Color scale — 50 to 950

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

#FCFCF3
#F9F9E6
#F4F5C6
#F1F49A
#E9EF67
#E2E935
#D5DD18
#a9af13
#8E9310
#676A10
#40430A
Base = 700Lightest = 50 · #FCFCF3Darkest = 950 · #40430A
:root {
  --brand-50: #FCFCF3;
  --brand-100: #F9F9E6;
  --brand-200: #F4F5C6;
  --brand-300: #F1F49A;
  --brand-400: #E9EF67;
  --brand-500: #E2E935;
  --brand-600: #D5DD18;
  --brand-700: #a9af13;
  --brand-800: #8E9310;
  --brand-900: #676A10;
  --brand-950: #40430A;
  --brand: #a9af13;
  --brand-ink: #000000;
}

Colors that work with #a9af13

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#FAFAF4
Tinted page background
Border#EBEDC0
Hairlines and dividers
Muted text#989B4B
Captions on the surface
Accent#0F32B3
Second voice, not a rival
Dark variant#6F730C
Hover, pressed, headers
Light variant#FCFDE8
Selected rows, tints
Dark surface#242414
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 #a9af13

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#1913AF
Analogous left#AF6713
Analogous right#5BAF13
Split-complement 1#135BAF
Split-complement 2#6713AF
Triadic 1#13A9AF
Triadic 2#AF13A9
Tetradic#13AF67

RGB percentages

Red66.3%
Green68.6%
Blue7.5%

CMYK percentages

Cyan3.4%
Magenta0.0%
Yellow89.1%
Key (black)31.4%

Color previews

#a9af13 text on a black background

contrast 8.83:1

Card sample

#a9af13 text on a white background

contrast 2.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(169, 175, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(169, 175, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a9af13;
background: linear-gradient(135deg, #a9af13, #41AF13);

Monochromatic scale

Palettes built from #a9af13

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.

#a9af13 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#a9af13, answered

What color is #a9af13?

#a9af13 is a dark electric yellow, closest to Dark Khaki (ΔE2000 9.5). It sits at 62° on the hue wheel with 80% saturation and 38% lightness, which reads as warm.

What is the RGB value of #a9af13?

rgb(169, 175, 19) — 169 red, 175 green and 19 blue out of 255, or 66.3% / 68.6% / 7.5% by channel.

Is #a9af13 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3914 and perceived brightness is 64%, so black text on it reaches 8.83:1.

Should I use black or white text on #a9af13?

Black. It scores 8.83:1 against #a9af13, versus 2.38:1 for white — AAA at any size.

What is the complementary color of #a9af13?

#1913AF sits directly opposite on the wheel. Softer options are the split-complements #135BAF and #6713AF, which give the same contrast with far less vibration.

What colors go well with #a9af13?

For interface work: #FAFAF4 as the surface, #EBEDC0 for borders, #989B4B for secondary text, #0F32B3 as an accent and #6F730C for hover and pressed states. For a palette, the analogous pair #AF6713 and #5BAF13 stays calm, while #1913AF is the loudest partner.

What is #a9af13 in CMYK for printing?

cmyk(3%, 0%, 89%, 31%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #a9af13 warm or cool?

Warm — it scores 27 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF7C13; nudged cooler, #70B111.

Work with #a9af13 in the Color Lab