Skip to content

#acaf36

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

RGB
172, 175, 54
HSL
62°, 53%, 45%
CMYK
2, 0, 69, 31
Luminance
0.3970

At a glance

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

Hex
#acaf36
Hue
62°
yellow
Saturation
53%
vivid
Lightness
45%
dark
Brightness
69%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3970
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
8.94:1
Closest name
Dark Khaki
ΔE2000 7.1
Where it sits
Hue62° of 360°
Saturation53%
Lightness45%
Temperature
Warm ← → Cool26% 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#acaf36
RGBrgb(172, 175, 54)
HSLhsl(62, 53%, 45%)
CMYKcmyk(2%, 0%, 69%, 31%)
LABlab(69.3 -16.0 58.6)
LCHlch(69.3 60.7 105.3)
OKLCHoklch(0.729 0.140 110.8)
Decimal11317046
Display P3color(display-p3 0.675 0.686 0.212)

Copy-ready code

/* CSS */
color: #acaf36;
background-color: #acaf36;
/* Tailwind (arbitrary) */
class="text-[#acaf36] bg-[#acaf36]"
/* SCSS */
$brand: #acaf36;
/* SwiftUI */
Color(red: 0.675, green: 0.686, blue: 0.212)
/* Android */
Color.parseColor("#acaf36")
/* Flutter */
Color(0xFFACAF36)
/* Python / OpenCV (BGR) */
(54, 175, 172)

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

Accessibility — WCAG contrast

Aa
#acaf36 on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#acaf36 on black: 8.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BDA723
deuteranopia · #BEAB3F
tritanopia · #B8A497

Color scale — 50 to 950

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

#FAFBF4
#F6F6E9
#ECEDCE
#E3E5A9
#D5D77E
#C7CA54
#acaf36
#999C30
#7B7D27
#595B1F
#383914
Base = 600Lightest = 50 · #FAFBF4Darkest = 950 · #383914
:root {
  --brand-50: #FAFBF4;
  --brand-100: #F6F6E9;
  --brand-200: #ECEDCE;
  --brand-300: #E3E5A9;
  --brand-400: #D5D77E;
  --brand-500: #C7CA54;
  --brand-600: #acaf36;
  --brand-700: #999C30;
  --brand-800: #7B7D27;
  --brand-900: #595B1F;
  --brand-950: #383914;
  --brand: #acaf36;
  --brand-ink: #000000;
}

Colors that work with #acaf36

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#EBECC1
Hairlines and dividers
Muted text#999B4B
Captions on the surface
Accent#314FB4
Second voice, not a rival
Dark variant#60611E
Hover, pressed, headers
Light variant#F9F9EC
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 #acaf36

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#3936AF
Analogous left#AF7636
Analogous right#6FAF36
Split-complement 1#366FAF
Split-complement 2#7636AF
Triadic 1#36ACAF
Triadic 2#AF36AC
Tetradic#36AF76

RGB percentages

Red67.5%
Green68.6%
Blue21.2%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow69.1%
Key (black)31.4%

Color previews

#acaf36 text on a black background

contrast 8.94:1

Card sample

#acaf36 text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 175, 54, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 175, 54, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acaf36;
background: linear-gradient(135deg, #acaf36, #5BAF36);

Monochromatic scale

Palettes built from #acaf36

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.

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

#acaf36, answered

What color is #acaf36?

#acaf36 is a dark vivid yellow, closest to Dark Khaki (ΔE2000 7.1). It sits at 62° on the hue wheel with 53% saturation and 45% lightness, which reads as warm.

What is the RGB value of #acaf36?

rgb(172, 175, 54) — 172 red, 175 green and 54 blue out of 255, or 67.5% / 68.6% / 21.2% by channel.

Is #acaf36 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3970 and perceived brightness is 65%, so black text on it reaches 8.94:1.

Should I use black or white text on #acaf36?

Black. It scores 8.94:1 against #acaf36, versus 2.35:1 for white — AAA at any size.

What is the complementary color of #acaf36?

#3936AF sits directly opposite on the wheel. Softer options are the split-complements #366FAF and #7636AF, which give the same contrast with far less vibration.

What colors go well with #acaf36?

For interface work: #FAFAF4 as the surface, #EBECC1 for borders, #999B4B for secondary text, #314FB4 as an accent and #60611E for hover and pressed states. For a palette, the analogous pair #AF7636 and #6FAF36 stays calm, while #3936AF is the loudest partner.

What is #acaf36 in CMYK for printing?

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

Is #acaf36 warm or cool?

Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF8636; nudged cooler, #80B134.

Work with #acaf36 in the Color Lab